mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-16 10:58:47 +01:00
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
3d956ad410
commit
3001226b9c
@ -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