This repository has been archived by the owner on May 1, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
Reverts the changes of #8090. Caused too much regression on other controls inside of a
ScrollView
. Reverting the changes for now and reopening #8015 to find a new solution for the initial problem.Issues Resolved
API Changes
None
Platforms Affected
Behavioral/Visual Changes
No more scrollbar flashes on controls in a
ScrollView
. On the other hand, theScrollView
scrollbar visibility will be broken again,Before/After Screenshots
Not applicable
Testing Procedure
There are multiple scenarios where you can find this. You can go to the Material Entry gallery and whenever you focus one entry you see the scrollbar flash on the right.
If you go to the label gallery and go through the
MaxLines
cases you will also see a scrollbar flash.With this change, that should not be visible anymore
PR Checklist