Repository navigation
fix(transition): animate all toolbars in iOS page transitions - #17224
Conversation
|
I am excited to see this issue fixed! Hopefully it is merged soon! |
|
There is another issue in the animation. This was also an issue before your pull request. What if there is an other element e.g.: an Maybe you can fix this issue also in your pull request. |
|
+1 |
|
@DavidWiesner Good catch! I'll play around with the selectors and see what I can find. |
|
@DavidWiesner Okay, I think I've got it now. It's still a bit inefficient in terms of adding a bunch of stuff to the animation, but it does the job. And now custom elements/components shouldn't be a problem either. It should handle |
|
Will it handle segment buttons and ion-segment being in there as well? |
|
@jayordway Yes i just tried it. It handles that as well. Should handle anything as long as it is placed within a toolbar. |
Update to latest 2-16-19
|
When is this getting merged? |
| leavingToolBarButtons.addElement(leavingToolBarEle.querySelectorAll('ion-buttons,[menuToggle]')); | ||
|
|
||
| const leavingToolbarItems = new AnimationC(); | ||
| leavingToolbarItems.addElement(leavingToolBarEle.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle]')); |
There was a problem hiding this comment.
What does this line do?
|
@zakton5 I pushed an update that has a few changes:
Let me know if you have any concerns! I need to do some performance testing but I will be doing that shortly. |
liamdebeasi
left a comment
There was a problem hiding this comment.
Great job on this! 🎉
|
Exciting! Would it be possible to get a dev release when this is merged? |
|
Thanks everyone who contributed to this! ❤️ We will definitely get a dev release out once merged. |
|
Thank you everyone! 🎉 |
|
Hi everyone, I have pushed a nightly build with these changes ( Thanks! |
|
@liamdebeasi So I have tested with 4.1.2-dev.201903141948.7d01207 and it seems as if this was fixed just for backing out of the view with the "sticky" or static toolbar but not transitioning into it. |
|
Hi @jayordway, Can you provide the code you used to test this? I can look into it. Thanks! |
|
@liamdebeasi Due to the nature of the project I cannot make it public, but here is a snippet to show the toolbar section that has the toolbar which appears immediately before the transition/slide even starts: |
|
Hi there, When If you feel you have found an bug, please create an issue here. Thanks! |
|
Hi, i am facing problems with the page transition when coming from a page that has multiple toolbars with segments to a page that also has mutliple toolbars (but one more than the page before). Head of Page 1 (a tabbed page): Head of Page 2 (opened from the tab page): So my problem is the following:
How can i prevent this? |
|
@Horst1102 Didn't Liam state in the previous comment that ion-buttons will not move with the transition? |
|
Yes, i have read that. But as far as i understand i do not use ion-buttons in the third toolbar. The element that overlaps is no button: |
|
Hi there, If you feel you have found a bug, please open a new Bug Report. |


Short description of what this resolves:
Only the first
ion-toolbarwithin anion-headeranimates when navigating forward or back.Changes proposed in this pull request:
ion-headerto the transition instead of just oneIonic Version: [email protected]
Fixes: #16262