menu: position fix in modals
This commit is contained in:
parent
43bfb40713
commit
6592671880
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ class Menu extends Widget {
|
|||
var parent = this.parent,
|
||||
scrollOffset = [0,0]
|
||||
|
||||
while (parent && parent.props && parent.getProp('type') !== 'tab') {
|
||||
while (parent && parent.props && parent.getProp('type') !== 'tab' && parent.getProp('type') !== 'modal') {
|
||||
scrollOffset[0] += parent.widget.scrollLeft
|
||||
scrollOffset[1] += parent.widget.scrollTop
|
||||
parent = parent.parent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue