-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
A-PickingPointing at and selecting objects of all sortsPointing at and selecting objects of all sortsA-TextRendering and layout for charactersRendering and layout for charactersC-FeatureA new feature, making something new possibleA new feature, making something new possibleD-ComplexQuite challenging from either a design or technical perspective. Ask for help!Quite challenging from either a design or technical perspective. Ask for help!S-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!X-UncontroversialThis work is generally agreed uponThis work is generally agreed upon
Description
What problem does this solve or what need does it fill?
I am rendering a Text element with many child TextNodes , some of the children are 'links' so they have a component on them that has the destination when clicked. However, it seems that the Interaction component doesnt work with a TextSpan in 0.15 . ?
What solution would you like?
Some way, with Interaction or otherwise, to be able to detect a click (trigger on an entity on mouse click) on a text span
I have tried to attach a Node and Button component to the text span but that totally breaks the text rendering.
Metadata
Metadata
Assignees
Labels
A-PickingPointing at and selecting objects of all sortsPointing at and selecting objects of all sortsA-TextRendering and layout for charactersRendering and layout for charactersC-FeatureA new feature, making something new possibleA new feature, making something new possibleD-ComplexQuite challenging from either a design or technical perspective. Ask for help!Quite challenging from either a design or technical perspective. Ask for help!S-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!X-UncontroversialThis work is generally agreed uponThis work is generally agreed upon