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
Currently, if you set expandArrowStyle to ExpandArrowStyle.text, a Tootltip is still shown on long press (with the same text as the button). Also, tooltipMessage is forced to upper case on the button: https://github.com/jesusrp98/expand_widget/blob/master/lib/src/expand_arrow.dart#L109, so setting collapsedHint to Test will result in a button with TEST text and a TestTooltip.
The text was updated successfully, but these errors were encountered:
I was aware of this issue, and I think it's about time this is fixed (sorry for the delay).
The tooltip should not be visible when expandArrowStyle is set to ExpandArrowStyle.text. On the other hand, I think it's OK to force the text to be upper case inside the button.
For better customization, I think it'd better be an option to not force button text to be upper case. In our case, we're using it as a label button (e.g. "See more"), that expands a list of services, so per design, we need it to be lowercase. The tooltip may be fixed by detecting if it's either a mouse or touch event,.
Currently, if you set
expandArrowStyle
toExpandArrowStyle.text
, aTootltip
is still shown on long press (with the same text as the button). Also,tooltipMessage
is forced to upper case on the button: https://github.com/jesusrp98/expand_widget/blob/master/lib/src/expand_arrow.dart#L109, so settingcollapsedHint
toTest
will result in a button withTEST
text and aTest
Tooltip
.The text was updated successfully, but these errors were encountered: