You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
Big thanks @brijeshb42 and other contributors on this package—it's very nice 🙌
I've noticed that an open/floating medium-draft styles widget/menu does not close when you click outside the text-editable area (e.g. click on page background). This seems like basic, expected behavior which all other medium-clones I've come across have implemented.
Highlight some text so the medium-draft styles menu appears
Click on the page background or some other element on the page
Result: the medium-draft styles menu is still visible Expected: the styles menu is hidden
So this might be a feature request or maybe it's a feature 🤷♂
Is there something like a "closeWidget" function I can call when used in conjunction with an "onClickOutside" callback?
The text was updated successfully, but these errors were encountered:
kindmind
changed the title
Question: how to close floating styles widget when clicking outside editable area?
How can I close the floating styles-widget when clicking outside editable area?
Mar 25, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Big thanks @brijeshb42 and other contributors on this package—it's very nice 🙌
I've noticed that an open/floating medium-draft styles widget/menu does not close when you click outside the text-editable area (e.g. click on page background). This seems like basic, expected behavior which all other medium-clones I've come across have implemented.
Result: the medium-draft styles menu is still visible
Expected: the styles menu is hidden
So this might be a feature request or maybe it's a feature 🤷♂
Is there something like a "closeWidget" function I can call when used in conjunction with an "onClickOutside" callback?
The text was updated successfully, but these errors were encountered: