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
"Goto Anything" modal dialog closes even when you click on it (including the text field and the "?" icon).
This prevents the help text for the dialog from showing up when you click "?".
I don't think it's a big issue but it would be better if it closes only when you click outside the modal.
Environment
Joplin version: Electron v1.0.199
Platform: Linux, Windows
OS specifics: Ubuntu 18.04, Windows 10
Steps to reproduce
Start Joplin Desktop app.
Select "Tools" > "Goto Anything" or hit Ctrl-G to open "Goto Anything" modal.
Click anywhere on the modal (the search text field, "?" icon or margin area). You will see the modal closes on click.
Describe what you expected to happen
Clicking "?" toggles the help text above the text field.
Clicking on the modal doesn't close it.
The text was updated successfully, but these errors were encountered:
I think this is caused by #2940. Most probably it incorrectly binds the onClick event to the entire page, closing the Go to anything modal wherever you click.
… the modal (#3029)
* Fix Go To Anything closing when clicking inside the modal
* Update GotoAnything.jsx
* Update GotoAnything.jsx
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
lockbot
locked and limited conversation to collaborators
Apr 19, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugIt's a bugdesktopAll desktop platformshighHigh priority issues
"Goto Anything" modal dialog closes even when you click on it (including the text field and the "?" icon).
This prevents the help text for the dialog from showing up when you click "?".
I don't think it's a big issue but it would be better if it closes only when you click outside the modal.
Environment
Joplin version: Electron v1.0.199
Platform: Linux, Windows
OS specifics: Ubuntu 18.04, Windows 10
Steps to reproduce
Describe what you expected to happen
The text was updated successfully, but these errors were encountered: