selecto
selecto copied to clipboard
Add prop to limit select area bounds to the dragContainer
Environments
- Framework name: React
- Framework version: Latest
- Component name: React Selecto component
- Component version:
- Testable Address(optional):
Description
Would it be possible to add a prop to selecto like limitDragArea
so that after a drag has started inside the dragContainer
, then the selecting area cannot go outside of the dragContainer
? Currently, you can't start a select outside a dragContainer
(which is great) but you can start a select inside a dragContainer
and then drag outside of that container. This prop would essentially limit the bounds to the bounds of the dragContainer
specified
@nelsondude
- selecto 1.7.1
- react-selecto 1.7.1
- preact-selecto 1.6.1
- ngx-selecto 1.7.1
- lit-selecto 1.7.1
- vue-selecto 1.7.1
- svelte-selecto 1.7.1
selecto new version is released. Use boundContainer option. Thank you 👍
Thank you!