Repository navigation
fix(rtl): menu - #11233
fix(rtl): menu#11233AmitMY wants to merge 12 commits into
Conversation
|
@brandyscarney Ready and passing. Can you review? |
|
@John-Luke Can you have a look to see if I am missing something for the menu / tests? And anyone who can help - This was tested only via code tests. Is there a way to see this in a real app somewhere? I hope this manages to get merged in time for next release, as this allows normal rtl apps usage, which means more rtl bugs will be found and fixed for version after that :) |
|
@AmitMY I will merge this + some changes |
|
@AmitMY I mess up with git, looks like |
|
@manucorporat No problem :) Glad it got merged Thanks for the merge! |
|
well, I would wait for the runtime change of dir. Probably something we should look at it once RTL is working properly in ionic, do not focus on that just yet. Also, I don't want to add more complexity if the change does not bring any value, is it possible in a real app to change the direction? |
|
@manucorporat Runtime partially shelved. So now there is better support, but not the final version. |
|
@manucorporat Also, small request - because I don't seem to be able to, can you please add |
Short description of what this resolves:
[side]="exp"onion-menunow updates the slide gesture in real time'left' | 'right' | 'start' | 'end'Changes proposed in this pull request:
Menu
slide-edge-gestureI added a methodsetEdgesto update the edges whenever needed.sideinput toget/setSwipe-back
dirChanged, that emits whenever you call.setDirswipe-back, I initialised the slide using current dir, and added a subscriber for when dir changes.Tests
Ionic Version: 3.x
This PR makes #11190 obsolete.
All tests (including new ones) passed