Is it possible to set an x-axis Drag limit on a draggable element? Note this is explicitly a horizontal Drag function, NOT Scroll. I was able to set boundaries for a Scroll element with a 0x0 container and a child element’s dimensions creating the boundary, but this has to be Drag.
I have a dummy element (in the end would be transparent) as a handle which is driving the width of the slider bar and that works fine. I just need to constrain the x position of the handle so it doesn’t slide off the screen.
Steps to reproduce the behavior:
- Set element to Horizontal Drag
- Drag element off screen
Screenshots/Sketch File/Principle file: (if applicable)