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

Is it possible to use Popover inside of Popover? #3448

Closed
plandem opened this issue Oct 16, 2016 · 11 comments
Closed

Is it possible to use Popover inside of Popover? #3448

plandem opened this issue Oct 16, 2016 · 11 comments
Assignees

Comments

@plandem
Copy link
Contributor

plandem commented Oct 16, 2016

I can't get required result :(

I have popover and inside of popup i have another popover with Select and etc.

@afc163
Copy link
Member

afc163 commented Oct 17, 2016

http://codepen.io/anon/pen/rrkYYb?editors=0011

There are some style conflict problems now.

@plandem
Copy link
Contributor Author

plandem commented Oct 17, 2016

i'm talking about a bit differ case, will add demo later.

@plandem
Copy link
Contributor Author

plandem commented Oct 17, 2016

ok, here is example:
http://codepen.io/anon/pen/jrvKjk?editors=0011

i can't get correct result for filter of tag's popover.

@plandem plandem changed the title Is it possible to use Popover inside of of Popover? Is it possible to use Popover inside of Popover? Oct 19, 2016
@ifokeev
Copy link

ifokeev commented Oct 24, 2016

I have the same problem. Want to make nested popovers that not to close on mouseLeave.

@benjycui
Copy link
Contributor

Add getPopupContainer={triggerNode => triggerNode.parentNode} to Popover:

<Popover getPopupContainer={triggerNode => triggerNode.parentNode}>
    <Button icon="filter"/>
</Popover>

@ifokeev @plandem if it's OK, close this issue, thanks.

@ifokeev
Copy link

ifokeev commented Oct 25, 2016

@benjycui
Amazing. I was writing my own bicycle, but your decision it what I really need.

@plandem
Copy link
Contributor Author

plandem commented Oct 25, 2016

Well, it works except two issues:

  1. width of parent container:
    http://codepen.io/anon/pen/jrvKjk?editors=0011

as you can see popover inside of popover in that case can't be wider than parent :(

  1. and also there is no "arrow" for child popover :(

@plandem
Copy link
Contributor Author

plandem commented Oct 25, 2016

Have you look at my example at codepen?

Sent from iPhone

On 25 Oct 2016, at 05:20, Benjy Cui [email protected] wrote:

Add getPopupContainer={triggerNode => triggerNode.parentNode} to Popover:

<Popover getPopupContainer={triggerNode => triggerNode.parentNode}>


@ifokeev @plandem if it's OK, close this issue, thanks.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@plandem
Copy link
Contributor Author

plandem commented Oct 25, 2016

I mean you can try by self :) I will try too - just need to get to computer

Sent from iPhone

On 25 Oct 2016, at 05:20, Benjy Cui [email protected] wrote:

Add getPopupContainer={triggerNode => triggerNode.parentNode} to Popover:

<Popover getPopupContainer={triggerNode => triggerNode.parentNode}>


@ifokeev @plandem if it's OK, close this issue, thanks.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@benjycui
Copy link
Contributor

Yep, this two problem is exist... #3448 (comment)

@lock
Copy link

lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants