-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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(progress-bar): use correct theme colors #22957
Conversation
Thanks, I forgot a transition. I will resolve that here: #22964 Because we are animating For the dots disappearing, that has always been there. The issue is just more pronounced because the dots no longer go behind the buffer. One idea is to animate background position rather than transform, but there may be some performance issues associated with that. edit: Also the dots disappearing also seems to be in the Vuetify version as well. |
btw. the live reload does not update changes in scss. I have to restart on every change by |
@domske Yes we run into similar issues with the stencil build, I believe it is this issue ionic-team/stencil#2635 As a workaround if you make a change in |
@brandyscarney Thanks, It works. But updating the |
Back to the issue: Don't set width / height to e.g. 100% when using left/right/top/bottom. It's a style conflict / overwrite. left: -10px;
right: -10px;
width: 100%; will not work. The element is now left: -10px and width 100% instead of 100% + 20px. |
I wonder if it makes sense to keep the container that was in the old PR, set The reason why we changed the PR was because it was animating |
The only idea with the overflow-hidden container, is that the dots can move behind the progress bar without shining through. Where do you benchmark the style performance? I know that transform and other 3d accelerated stuff is better. Aber is there a way to measure things like |
Yeah, I like that overflow hidden container idea. Re: benchmarking style performance-- this is a shameless plug but I go over the tools I use here: https://www.youtube.com/watch?v=A5a15NrcGoM Using |
So fixed #22965 😓 But feel free to modify. If you wonder: Why two containers? Well, to use translate and not left. Note that you have to move the container forward and the child backwards to balance the movement. otherwise the animation glitches. I also just flip the component with |
Thank you! I will take a look at the PR. |
* master: (284 commits) fix(label): only show placeholder with floating label when focused (ionic-team#22958) feat(react): add react hooks to control overlay components (ionic-team#22484) feat(vue): add composition API ionic lifecycle hooks (ionic-team#22970) chore(): run build 5.5.5 fix(vue): account for event name changes in vue 3.0.6+ fix(react, vue): navigating using ion-back-button now selects correct page (ionic-team#22974) fix(progress-bar): use correct theme colors in dark mode (ionic-team#22965) fix(progress-bar): add width transition (ionic-team#22964) fix(vue): prevent race conditions when opening overlays (ionic-team#22883) fix(progress-bar): use correct theme colors in dark mode (ionic-team#22957) feat(searchbar): add showClearIcon property (ionic-team#22759) test(): update theming test with latest dark mode values (ionic-team#22956) chore(): update package-lock to account for npm 7.5.3 bug fix (ionic-team#22963) fix(header): collapsed toolbar is no longer incorrectly shown when using ion-refresher (ionic-team#22937) fix(react): onIonTabsWillChange and onIonTabsDidChange event handlers are now properly bound to IonTabs (ionic-team#22233) fix(refresher): add correct dark mode styles (ionic-team#22639) feat(custom-elements): add experimental custom elements build (ionic-team#22863) fix(a11y): improve support for ids with special characters when getting label element (ionic-team#22680) chore(): update code of conduct (ionic-team#22619) ...
TODO: Give co-author credit to domske
Pull request checklist
Please check if your PR fulfills the following requirements:
npm run build
) was run locally and any changes were pushednpm run lint
) has passed locally and any fixes were made for failuresPull request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: resolves #20098
What is the new behavior?
Does this introduce a breaking change?
Other information