-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
TextSpan can not recieve Pointer<Click> events #15984
Comments
rewin123
added
C-Feature
A new feature, making something new possible
S-Needs-Triage
This issue needs to be labelled
labels
Oct 18, 2024
tim-blackbird
added
A-UI
Graphical user interfaces, styles, layouts, and widgets
A-Picking
Pointing at and selecting objects of all sorts
and removed
S-Needs-Triage
This issue needs to be labelled
labels
Oct 18, 2024
You can make this work currently by either:
Both methods are really clumsy and annoying though. It's not very hard to implement a builtin solution for Bevy but there isn't time for it before the 0.15 release I think. |
I agree that such functionality can wait. Although its absence leads to ugly code. And I want to try option 1 as a temporary solution. Thanks for the idea. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this solve or what need does it fill?
Text can accept Pointer events, but TextSpan cannot. I wanted to make a link inside the large text and I can't implement this with multiple Texts because the layout of the text will be bad.
What solution would you like?
Add support to recieve Pointer events for TextSpan
What alternative(s) have you considered?
Provide some other check that the mouse is over a particular TextSpan
Additional context
The text was updated successfully, but these errors were encountered: