slideout
slideout copied to clipboard
Features proposal
I understand the idea is to keep it as simply as possible, but it would be nice to have:
- Ability to have Push Panels instead of Slide/Reveal.
- Ability to have the navigation appear on top of the content instead of behind. This means, animating the hidden menu
translateX
instead of content, and obviously higherz-index
. - Ability to have it on the right, instead of the left (this might get tricky with overflows).
Would you be accepting PRs for these?
Tomás, thanks for the proposals. We will accept prs for all of them.
Ability to have the navigation appear on top of the content instead of behind. This means, animating the hidden menu translateX instead of content, and obviously higher z-index.
@tomasdev Have you started any work on this feature? I also find it a bit distracting to have the content overlap the menu when the transition happens.
@phillipadsmith nope, haven't had the time. Feel free to do it.
@tomasdev Actually, mucking about with it, I'm not sure it requires more than a z-index: 1 on .slideout-menu Perhaps, I am missing something?
cc @pazguille @danzajdband
@phillipadsmith yes sir, it is z-index + animating the menu instead of animating the content.
yes sir, it is z-index + animating the menu instead of animating the content.
Is the animation you reference necessary? What I'm seeing here is that simply setting the z-index on .slideout-menu solves the issue I was experiencing with overlapping content. That can be achieved easily without any update to the library.
+1 for Ability to have the navigation appear on top of the content instead of behind. This means, animating the hidden menu translateX instead of content, and obviously higher z-index.