Closed pippo111 closed 5 years ago
Modal box is closing unexpectedly when moving mouse selection outside container.
Open modal box, select some text and with active selection move mouse pointer outside of modal's container, then release mouse button. See:
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
Hello @pippo111, hmm yes I think it should not be the behaviour, it is actually a bug.
Modal is gone in new release, please use Reakit Dialog instead.
🐛 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.