Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to register on_open event for combo box #2452

Closed
2 tasks done
WZ-Tong opened this issue May 27, 2024 · 1 comment · Fixed by #2534
Closed
2 tasks done

Unable to register on_open event for combo box #2452

WZ-Tong opened this issue May 27, 2024 · 1 comment · Fixed by #2534
Labels
bug Something isn't working
Milestone

Comments

@WZ-Tong
Copy link

WZ-Tong commented May 27, 2024

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?

I can only register on_close event, but not on_open` event.
It's useful to refresh items when combo box is selected.

Currently I can use on_option_hovered, but it triggers everytime mouse move over an option

What is the expected behavior?

ComboBox::new().on_open

Version

crates.io release

Operating System

Windows

Do you have any log output?

No response

@WZ-Tong WZ-Tong added the bug Something isn't working label May 27, 2024
@WailAbou
Copy link
Contributor

WailAbou commented Jul 30, 2024

Hi @WZ-Tong,

I have submitted a PR to add the new feature.

@hecrj hecrj added this to the 0.13 milestone Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants