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
Thanks a lot for creating and maintaining this package. It seems great so far, but I'm running into a small issue:
The tooltip is always centered on the child widget, and no tap to dismiss is possible on half of the child due to this. In the screenshot you can see the area of the tooltip arrow preventing the dismissal. If I set the arrow size to 0, it sadly does not help, as the tooltip itself just gets put where the arrow was (at the center).
I did some quick digging in the code, and saw a verticalOffset parameter, which seems to be what I'm searching for, but it's commented out and doesn't influence anything at the moment I think.
Is there any other way I can add some offset, or get the click/tap to go through that region as well? Thanks in advance!
The text was updated successfully, but these errors were encountered:
The SuperTooltip would always place the arrow in the middle of the widget.
I just added a SizedBox.shrink() as my TargetWidget and wrapped it in a Row or Column, depending on the TooltipDirection.
Example below:
Row(
children: [
SuperTooltip(
controller: superTooltipController,
popupDirection:TooltipDirection.up,
...
...
// Temporary workaround to address the issue where SuperTooltip obstructs part of the touch area for some of buttons.
child:constSizedBox.shrink(),
),
TargetWidget(),
],
),
This way, the SuperTooltip will never obstruct part of the touch area on the TargetWidget.
Hi!
Thanks a lot for creating and maintaining this package. It seems great so far, but I'm running into a small issue:
The tooltip is always centered on the child widget, and no tap to dismiss is possible on half of the child due to this. In the screenshot you can see the area of the tooltip arrow preventing the dismissal. If I set the arrow size to 0, it sadly does not help, as the tooltip itself just gets put where the arrow was (at the center).
I did some quick digging in the code, and saw a verticalOffset parameter, which seems to be what I'm searching for, but it's commented out and doesn't influence anything at the moment I think.
Is there any other way I can add some offset, or get the click/tap to go through that region as well? Thanks in advance!
The text was updated successfully, but these errors were encountered: