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
Expected behavior
The tooltip needs to be centered, similar to how it appears when using Showcase, but it is not currently positioned correctly.
Screenshots
When using ShowCase.withWidget:
When using ShowCase:
Desktop (please complete the following information):
OS: Windows
Browser chrome
Version 11
Smartphone (please complete the following information):
Device: Redmi Note 9
OS: Android
Browser chrome
Version 11
Additional context
The position of the tooltip varies depending on the width in Showcase.withWidget, and even when setting the width to 0, it remains improperly positioned. Given this behavior, I aim to avoid relying on static sizing for positioning to ensure responsiveness.
The text was updated successfully, but these errors were encountered:
line 509 in tooltip_widget.dart, the Positioned widget is missing the right property which causes the container (your custom tooltip widget) will be placed at top left. I don't know why the author did this but you need to add value for the right property, just like this:
Positioned( left: _getSpace(), top: contentY - (10 * contentOffsetMultiplier), right: _getSpace(),
Your custom tooltip will be placed center.
Describe the bug
When using Showcase.withWidget, the positioning of the tooltip is incorrect.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The tooltip needs to be centered, similar to how it appears when using Showcase, but it is not currently positioned correctly.
Screenshots
When using ShowCase.withWidget:
When using ShowCase:
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The position of the tooltip varies depending on the width in Showcase.withWidget, and even when setting the width to 0, it remains improperly positioned. Given this behavior, I aim to avoid relying on static sizing for positioning to ensure responsiveness.
The text was updated successfully, but these errors were encountered: