(Question) Adding bounds to items #44
Answered
by
samuelarbibe
Ahmed-Ateeq
asked this question in
Q&A
-
How do i put a resize limit to any of my items. For example, I don't want the item to exceed 1 hour. How can I achieve that? |
Beta Was this translation helpful? Give feedback.
Answered by
samuelarbibe
Jul 19, 2024
Replies: 1 comment 2 replies
-
Hey! Keep in mind, this will still allow the client to drag and resize the item larger than the limit, but the update will not actually register and change state, so it will just pop back to the unchanged position. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, limiting drag and resize animations is not currently supported.
The reason is that resizing and dragging is handled by css translations for performance purposes, and intervening with that could cause redundant renders at the cost of performance.