Skip to content
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

Support open another popop in a opening popop #77

Open
dcuti8 opened this issue Jan 11, 2019 · 0 comments
Open

Support open another popop in a opening popop #77

dcuti8 opened this issue Jan 11, 2019 · 0 comments

Comments

@dcuti8
Copy link

dcuti8 commented Jan 11, 2019

Can I open another popop in a opening popop?

I have modal one and modal two, I click the button to open the modal two, and I can the 'Open Modal 1' in the modal two popop. Generally, the modal one should show on top the modal two, but actually the modal two cover the modal one.....

           <button onClick={() => this.animated1.show()}>Open Modal 1</button>
            <button onClick={() => this.animated2.show()}>Open Modal 2</button>

            <SkyLight  
              ref={ref => this.animated1 = ref} 
            >
              <Label>Hello, I animated one</Label>
            </SkyLight>

            <SkyLight  
              ref={ref => this.animated2 = ref} 
            >
              <div>
                <Label>Hello, I animated two</Label>
                <button onClick={() => this.animated1.show()}>Open Modal 1</button>
              </div>
            </SkyLight>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant