-
Notifications
You must be signed in to change notification settings - Fork 515
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 render two “interactive.view” correctly? #291
Comments
I have implemented the same feature using snapto method..
|
@gigin-flexott would you explain in an example? |
Panel A
By default panelA has two snap points. Index 0 for showing and 1 for hiding
On press of button you can dynamically change the position of any panel by calling |
@gigin-flexott Thank you. |
@gigin-flexott 'panelA' can be shown or be hidden. However, 'panelB' cannot be shown. |
from my above code..you can display panel A by calling
and hide it by
|
@gigin-flexott Yes, 'panelA' can be hidden. However, 'panelB' cannot be shown or be hidden. |
@madeinquant |
@gigin-flexott panelA or panelB cannot be coexist. The first panel can only be shown (in this case, it is 'panelA'), 'panelB' cannot be shown. When I trigger the onPress function. I expected to show them in mutual exclusively (A is shown and B is hidden, vice versa). Unfortunately, it is not same as I expected.
|
Implementing an additional “interactive.view” in MapPanel.js, let’ say “panel A” and “panel B”. I expected to show them in mutual exclusively (A is shown and B is hidden, vice versa) when onPress is triggered. Unfortunately, not same as I expected. Initially, I render “panel A” before “panel B”, the “panel A” has shown but “panel B” is hidden. Even triggered onPress to change the position of “panel B” but it is still hidden. Please comment how to render two “interactive.view” correctly.
The text was updated successfully, but these errors were encountered: