Skip to content

Conversation

stefan-zh
Copy link

@stefan-zh stefan-zh commented Jun 28, 2016

Adding mentio-z-index property to both mentio and mentio-menu to control the z-index value of the @mentions dropdown. This is a replica of pull request #99, but #99 only covers mentio-menu, so I am extending the property to mentio as well. The same issue has been tackled by pull request #82 as well.

Also changing the absolute positioning of the menu to fixed, which touches on #146. I selected 'fixed' because it relates to the point-of-view instead of 'absolute' which in this cases is absolutely positioned off of the <body> tag since the <mentio-menu> element is always positioned inside the <body>.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 79.368% when pulling d47fb22 on stefan-zh:master into ad2a0a9 on jeff-collins:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 79.368% when pulling 5b5bb77 on stefan-zh:master into ad2a0a9 on jeff-collins:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.4%) to 75.914% when pulling c519ff9 on stefan-zh:master into ad2a0a9 on jeff-collins:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 79.368% when pulling b07aaa6 on stefan-zh:master into ad2a0a9 on jeff-collins:master.

@stefan-zh stefan-zh changed the title Adding mentio-z-index property to both mentio and mentio-menu Adding z-index to mentio-menu and making positioning 'fixed' Jun 28, 2016
@seanconnollydev
Copy link

I don't think you always want the position of the menu to be fixed. I just added a PR (#177) that sets the position of the menu to fixed only if the textarea/input has a fixed ancestor. Outside of a fixed element, a fixed menu won't stick with the textarea/input as you scroll.

@stefan-zh stefan-zh closed this Mar 2, 2021
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

Successfully merging this pull request may close these issues.

3 participants