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.
initial state, when
dropdown button 1clicked.
when scroll page outside of table, works fine.

when scroll page inside table row, dropdown menu misalign.

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
Post a Comment