-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is your issue REALLY a bug?
- My issue is indeed a bug!
- I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.
Is there an existing issue for this?
- I have searched the existing issues.
Is this issue related to iced?
- My hardware is compatible and my graphics drivers are up-to-date.
What happened?
Putting a text_input inside a tooltip seems to remove the text_input from the focus chain traversed by focus_next.
I guess that happens because tooltip has a blank operate in the Widget impl.
It is still possible to set the focus on the text_input by clicking on it. Using focus_next when text_input (still inside tooltop) has focus results in a state where 2 widgets have focus at the same time (typing on the keyboard enters text in both inputs at the same time).
What is the expected behavior?
The text_input should be focussable via focus_next if it is placed inside a tooltip.
Example:
iced-tooltip-focus-bug.zip
Version
crates.io release
Operating System
Linux
Do you have any log output?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working