forked from extern/egroupware
Fix scrolling issue happens in FF when scrolling over selectbox items located in sidebox(e.g. selectboxes in calendar sidebox menu)
This commit is contained in:
parent
fa792cd6ae
commit
0257f17c81
@ -849,7 +849,10 @@ function egw_fw_ui_scrollarea(_contDiv)
|
||||
//Mousewheel handler
|
||||
var self = this;
|
||||
$j(this.scrollDiv).mousewheel(function(e, delta) {
|
||||
if (delta)
|
||||
// Do not scrolldown/up when we are on selectbox items
|
||||
// seems Firefox does not prevent the mousewheel event over
|
||||
// selectbox items with scrollbars
|
||||
if (delta && e.target.tagName != "OPTION")
|
||||
{
|
||||
self.scrollDelta(- delta * 30);
|
||||
if (self.contHeight != this.scrollHeight) self.update();
|
||||
|
Loading…
Reference in New Issue
Block a user