-
Notifications
You must be signed in to change notification settings - Fork 23
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
BubbleShowcase cannot exceed highlighted widget's dimensions #16
Labels
bug
Something isn't working
Comments
I think #11 is related and might solve this issue, but it is highly outdated |
@Termtime thank you for working on a fix! I figured out that using OverflowBox is a temporary workaround solution for this issue, e.g.: RelativeBubbleSlide(
widgetKey: widgetToHighlightKey,
child: RelativeBubbleSlideChild(
direction: AxisDirection.up,
widget: OverflowBox(maxWidth: 300, alignment: Alignment.centerLeft, child: Padding(
padding: const EdgeInsets.only(top: 8),
child: SpeechBubble(
nipLocation: NipLocation.BOTTOM_LEFT,
color: Colors.blue,
child: Padding(
padding: const EdgeInsets.all(10),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: [
Text(
'That\'s cool !',
),
Text(
'This is my brand new title !',
),
],
),
),
)),
),
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If you set a RelativeBubbleSlide to be on a horizontal axis (
AxisDirection.right
orAxisDirection.left
) the BubbleShowcase widget will at maximum be of the height of the widget and cannot exceed it.If you set it to a vertical axis (
AxisDirection.up
orAxisDirection.down
) the same happens but with the width of the RelativeBubbleSlide.To Reproduce
Steps to reproduce the behavior:
BubbleSlide _firstSlide
in theexample.dart
file of this package.Expected behavior
You should be able to go beyond the width/height of the widget you are highlighting.
Screenshots
![image](https://user-images.githubusercontent.com/49447170/133863831-fbd28938-cd21-49c9-a4dc-564e8d4c68aa.png)
![image](https://user-images.githubusercontent.com/49447170/133863916-8af2af02-d283-4b9b-8596-ddeb4457ee44.png)
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: