Modal is closing when moving mouse selection outside container
pippo111 opened this issue · comments
Filip Barańczuk commented
🐛 Bug Report
Modal box is closing unexpectedly when moving mouse selection outside container.
To Reproduce
Open modal box, select some text and with active selection move mouse pointer outside of modal's container, then release mouse button. See:
Expected behavior
Selection should persist and modal should remain open. It is frustrating especially when selecting text on the input box and modal suddenly closes.
## System:
- OS: Linux 4.19 Manjaro Linux
- CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
- Memory: 5.16 GB / 15.51 GB
- Container: Yes
- Shell: 3.0.2 - /usr/bin/fish
## Binaries:
- Node: 11.14.0 - /usr/bin/node
- Yarn: 1.15.2 - /usr/bin/yarn
- npm: 6.9.0 - /usr/bin/npm
Greg Bergé commented
Hello @pippo111, hmm yes I think it should not be the behaviour, it is actually a bug.
Greg Bergé commented
Modal is gone in new release, please use Reakit Dialog instead.