-
Notifications
You must be signed in to change notification settings - Fork 36
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
How to show back layer without scrim on front? #117
Comments
did you tried with Sadly to enable user interaction (like tap, etc) backdrop/lib/src/scaffold.dart Lines 515 to 522 in 715f6d7
Suggesting following changes:
@WieFel What are your views on it? |
@lastmeta Backdrop behaviour in MDG defines that the front layer should be inactive when backLayer is revealed, therefore this is the default(hard-coded) behaviour. |
thats fine. in our case we want to reveal a portion of the backlayer which provides information and is not interacted with. perhaps MDG would suggest we put that information on the front layer but having it on the back and having the front be interactive gives a clean and clear distinction between info and interact portions of the screen. I was able to create a workaround (rather than a real solution) this problem in the following way:
|
I think the Feel free to file PR with changes mentioned above. |
@daadu Seems reasonable. LGTM! |
Is your feature request related to a problem? Please describe.
I have a situation where I want to show some of the back layer, while allowing the user to interact with the front.
like this:
but of course I also want to retain the default behavior for other situations: like when I'm showing navigation options.
Describe the solution you'd like
So I'd like to be able to call a sister function to
.revealBackLayer();
or even something like this.revealBackLayer(activeFront: true);
What I'm looking for
How would you go about implementing this? I'd be happy to implement it if you guys are busy, because I want this feature now. But I'd like some pointers or hints as I don't know the code base well. What steps would you go through to implement this?
The text was updated successfully, but these errors were encountered: