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

perf(menu,select): panel repainting on scroll #7721

Merged
merged 1 commit into from
Jan 25, 2018

Conversation

crisbeto
Copy link
Member

Prevents the menu and select panels from repainting while scrolling.

Fixes #7716.

Prevents the menu and select panels from repainting while scrolling.

Fixes angular#7716.
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Oct 11, 2017
crisbeto added a commit to crisbeto/material2 that referenced this pull request Oct 18, 2017
Along the same lines as angular#7721, angular#7719 and angular#6890 the tab body currently repaints on scroll.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Oct 18, 2017
Along the same lines as angular#7721, angular#7719 and angular#6890 the tab body currently repaints on scroll.
andrewseguin pushed a commit that referenced this pull request Nov 2, 2017
Along the same lines as #7721, #7719 and #6890 the tab body currently repaints on scroll.
@jelbourn
Copy link
Member

@crisbeto this PR still valid?

@jelbourn jelbourn self-requested a review January 24, 2018 20:03
@crisbeto
Copy link
Member Author

I'd say so @jelbourn, the panels are still repainting when you're scrolling.

Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Jan 25, 2018
@jelbourn jelbourn merged commit 13410bd into angular:master Jan 25, 2018
@jelbourn jelbourn added the target: patch This PR is targeted for the next patch release label Jan 29, 2018
crisbeto added a commit to crisbeto/material2 that referenced this pull request Feb 19, 2018
A while ago we added a `backface-visibility` to some components that have scrollable content in order to avoid repaints while scrolling (see angular#7889, angular#7721, angular#7719, angular#6890, angular#2156) which worked at the time, however in the more recent versions of Chrome it causes the content in RTL mode to shift whenever a child has a transform that is being animated (in our case it's usually ripples). These changes revert the `backface-visibility` in order to avoid the jumping, until we can find a better solution.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Feb 19, 2018
A while ago we added a `backface-visibility` to some components that have scrollable content in order to avoid repaints while scrolling (see angular#7889, angular#7721, angular#7719, angular#6890, angular#2156) which worked at the time, however in the more recent versions of Chrome it causes the content in RTL mode to shift whenever a child has a transform that is being animated (in our case it's usually ripples). These changes revert the `backface-visibility` in order to avoid the jumping, until we can find a better solution.

Relates to angular#10023.
jelbourn pushed a commit that referenced this pull request Feb 26, 2018
A while ago we added a `backface-visibility` to some components that have scrollable content in order to avoid repaints while scrolling (see #7889, #7721, #7719, #6890, #2156) which worked at the time, however in the more recent versions of Chrome it causes the content in RTL mode to shift whenever a child has a transform that is being animated (in our case it's usually ripples). These changes revert the `backface-visibility` in order to avoid the jumping, until we can find a better solution.

Relates to #10023.
mmalerba pushed a commit to mmalerba/components that referenced this pull request Feb 26, 2018
)

A while ago we added a `backface-visibility` to some components that have scrollable content in order to avoid repaints while scrolling (see angular#7889, angular#7721, angular#7719, angular#6890, angular#2156) which worked at the time, however in the more recent versions of Chrome it causes the content in RTL mode to shift whenever a child has a transform that is being animated (in our case it's usually ripples). These changes revert the `backface-visibility` in order to avoid the jumping, until we can find a better solution.

Relates to angular#10023.
jelbourn pushed a commit to jelbourn/components that referenced this pull request Feb 27, 2018
)

A while ago we added a `backface-visibility` to some components that have scrollable content in order to avoid repaints while scrolling (see angular#7889, angular#7721, angular#7719, angular#6890, angular#2156) which worked at the time, however in the more recent versions of Chrome it causes the content in RTL mode to shift whenever a child has a transform that is being animated (in our case it's usually ripples). These changes revert the `backface-visibility` in order to avoid the jumping, until we can find a better solution.

Relates to angular#10023.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

perf(md-select): repaint on scroll (Google Chrome)
4 participants