Skip to main content
Participant
Nov 27, 2021 8:20 AM UTC
Question

How to modify the click range when creating a selectbox via component

hi every guys

I made a selection box to appear when clicking through the current component. The problem is that the click range is set as much as the size of the selection box. I would like to know how to modify the click range by the size of the selectbox.


The click range is interrupted to the position of the other selection box at the bottom.

 

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    AkinGn
    Community Expert
    Community Expert
    Nov 27, 2021 11:29 AM UTC

    Hi, I've just tested and you can keep the clickable area in two states just the selection box' closed state, you just need to create the open state eleemnts inside of the open state. Attaching the XD file, hope this helps.

    Translate
    AkinGn
    Community Expert
    Community Expert
    Nov 27, 2021 11:33 AM UTC

    Sorry I hope I managed to share the link properly this time, hope this helps https://www.dropbox.com/s/atbh5vybngu4by6/selection-box-test.xd?dl=0

    Translate