javascript - Foundation 5 Dropdown Menu Misalign in scrollable table row -


i add dropdown button inside scrollable table row. able dropdown working inside scrollable table row. however, when scroll inside table row, dropdown menu misalign.

here screenshots elaborate.

  1. initial state, when dropdown button 1 clicked. initial state, when **<code>dropdown button 1</code>** clicked

  2. when scroll page outside of table, works fine. enter image description here

  3. when scroll page inside table row, dropdown menu misalign. enter image description here

please refer example in jsbin: http://emberjs.jsbin.com/kuhavenaya/1/edit?html,css,js,output

click on dropdown button 1, dropdown menu show up.

  • try scrolling inside table row , see dropdown menu misalign.
  • but, when scroll outside of table, work fine.

any , suggestion solve issue appreciated. lot. :)

the problem above implementation dropdown menu relative window body , not dropdown menu container.

therefore, solution have position: relative encapsulating dropdown button.

here working example fixes dropdown menu misalign issue.

thanks~


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -