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

fix(slider): slider track not visible #5512

Merged
merged 2 commits into from
Jan 23, 2020

Conversation

crisbeto
Copy link
Collaborator

These changes fix the following issues which were introduced by #5132:

  1. The background of track is now provided by .mdc-slider__track-container::after, however ::after wasn't positioned correctly which made it invisible.
  2. The ::after structural styles were set inside the color feature target. This means that they'll end up being included multiple times and in the wrong place.

Screenshot for reference:
Screenshot at Jan 23 21-36-34

packages/mdc-slider/_mixins.scss Outdated Show resolved Hide resolved
These changes fix the following issues which were introduced by material-components#5132:
1. The background of track is now provided by `.mdc-slider__track-container::after`, however `::after` wasn't positioned correctly which made it invisible.
2. The `::after` structural styles were set inside the `color` feature target. This means that they'll end up being included multiple times and in the wrong place.
Copy link
Collaborator

@abhiomkar abhiomkar left a comment

Choose a reason for hiding this comment

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

Re-exported to cl/291245750

@abhiomkar abhiomkar merged commit f2426d2 into material-components:master Jan 23, 2020
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jan 24, 2020
We recently updated to the latest MDC Canary to fix some build issues and be able to use the feature targeting for the form field, but it also came in with a regression. These changes update to a newer Canary version that has a fix for the regression (material-components/material-components-web#5512).
jelbourn pushed a commit to angular/components that referenced this pull request Jan 25, 2020
We recently updated to the latest MDC Canary to fix some build issues and be able to use the feature targeting for the form field, but it also came in with a regression. These changes update to a newer Canary version that has a fix for the regression (material-components/material-components-web#5512).
yifange pushed a commit to yifange/components that referenced this pull request Jan 30, 2020
We recently updated to the latest MDC Canary to fix some build issues and be able to use the feature targeting for the form field, but it also came in with a regression. These changes update to a newer Canary version that has a fix for the regression (material-components/material-components-web#5512).
This was referenced Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants