Skip to content
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

Hiding Of Skip Button Is Now Handled By A Visibility Widget So It Doesn't Jump Around #127

Merged
merged 2 commits into from
Nov 23, 2022

Conversation

impure
Copy link
Contributor

@impure impure commented Jun 11, 2022

This issue shows the problem:

#118

They solved it some other way. This pull request solves it by replacing the widget with a visibility widget allowing it to maintain its size even if hidden.

@ghenry ghenry merged commit 860a5bc into Pyozer:master Nov 23, 2022
@ghenry
Copy link
Collaborator

ghenry commented Nov 23, 2022

Thanks @impure

Looks good!

Appreciate you taking the time to do this.

Gavin.

@ghenry
Copy link
Collaborator

ghenry commented Nov 23, 2022

Can you look at the docs to update the READme with this? I know it's asking a lot, but would be much appreciated.

@impure
Copy link
Contributor Author

impure commented Nov 26, 2022

Do you mean the Changelog? I didn't change the API so I don't know what to change in the readme.

@ghenry
Copy link
Collaborator

ghenry commented Nov 26, 2022

Ah, nevermind. All good. Thanks for the clarification.

@EnduringBeta
Copy link
Contributor

Shoutout to anyone else whose integration tests broke because of this change to the Skip button. ;) Totally reasonable and good update!

@ghenry
Copy link
Collaborator

ghenry commented Nov 29, 2022 via email

@EnduringBeta
Copy link
Contributor

Absolutely. It's a pretty simple change. Just add hitTestable() on the end of the Skip Finder if it stops working.

// Skip button is made invisible, not completely removed
static final Finder _skipFinder = find.text('Skip').hitTestable();
...
expect(_skipFinder, findsNothing);
...
expect(_skipFinder, findsOneWidget);

@ghenry
Copy link
Collaborator

ghenry commented Nov 30, 2022 via email

@ghenry
Copy link
Collaborator

ghenry commented Nov 30, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants