Hi Isomorphic...
I've found a strange exception in a configuration with a MenuButton and a large number of MenuItems when the scroll bar is displayed. The exception happens on mouse events around the v scroll bar.
Thanks and Best regards...
Version: "SNAPSHOT_v10.1d_2014-11-12/LGPL Deployment"
Browser: Same exception in IE11, FF 33.1.1, CHROME 39.0.2171.71 m
Stack:
23:04:44.898:MMV1:WARN:Log:TypeError: Cannot read property 'showMenuOnRollOver' of undefined
Stack from error.stack:
[o]SpritedScrollbar.peerHandleMouseOver(<no args: exited>) @ ISC_Grids.js:77100:29
[c]EventHandler.bubbleEvent(<no args: exited>) @ ISC_Core.js:37711:44
[c]EventHandler.handleEvent(<no args: exited>) @ ISC_Core.js:33577:49
[c]EventHandler.__handleMouseMove(<no args: exited>) @ ISC_Core.js:34671:34
[c]EventHandler._handleMouseMove(<no args: exited>) @ ISC_Core.js:34520:26
[c]EventHandler.handleMouseMove(<no args: exited>) @ ISC_Core.js:34495:21
[c]EventHandler.dispatch(handler=>[c]EventHandler.handleMouseMove(), event=>[object MouseEvent]) @ ISC_Core.js:39136:30
HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:127
Sample Code: Just configure a MenuButton with a Large number of menu items in order to show the vscroll.
Copy&Paste code in:
http://www.smartclient.com/docs/10.0/a/system/reference/SmartClient_Explorer.html#menuDynamicItems
I've found a strange exception in a configuration with a MenuButton and a large number of MenuItems when the scroll bar is displayed. The exception happens on mouse events around the v scroll bar.
Thanks and Best regards...
Version: "SNAPSHOT_v10.1d_2014-11-12/LGPL Deployment"
Browser: Same exception in IE11, FF 33.1.1, CHROME 39.0.2171.71 m
Stack:
23:04:44.898:MMV1:WARN:Log:TypeError: Cannot read property 'showMenuOnRollOver' of undefined
Stack from error.stack:
[o]SpritedScrollbar.peerHandleMouseOver(<no args: exited>) @ ISC_Grids.js:77100:29
[c]EventHandler.bubbleEvent(<no args: exited>) @ ISC_Core.js:37711:44
[c]EventHandler.handleEvent(<no args: exited>) @ ISC_Core.js:33577:49
[c]EventHandler.__handleMouseMove(<no args: exited>) @ ISC_Core.js:34671:34
[c]EventHandler._handleMouseMove(<no args: exited>) @ ISC_Core.js:34520:26
[c]EventHandler.handleMouseMove(<no args: exited>) @ ISC_Core.js:34495:21
[c]EventHandler.dispatch(handler=>[c]EventHandler.handleMouseMove(), event=>[object MouseEvent]) @ ISC_Core.js:39136:30
HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:127
Sample Code: Just configure a MenuButton with a Large number of menu items in order to show the vscroll.
Copy&Paste code in:
http://www.smartclient.com/docs/10.0/a/system/reference/SmartClient_Explorer.html#menuDynamicItems
Code:
var listGrid = isc.ListGrid.create({ ID: "listGrid", autoDraw: false, width: 130, fields: [ {name: "project", title: "Project", type: "text"} ], data: [ {project: "AJAX Interface"}, {project: "Simplify Backend"}, {project: "Broaden Reach"} ] }); isc.Menu.create({ ID: "menu", autoDraw: false, showShadow: true, height: 50, shadowDepth: 10, data: [ {keyTitle: "Ctrl+N", enableIf: "listGrid.getSelectedRecord() != null", dynamicTitle: "'New file in' + (listGrid.getSelectedRecord() == null ? '...' : ' '+listGrid.getSelectedRecord().project)", dynamicIcon: "listGrid.getSelectedRecord() == null ? 'icons/16/document_plain_new_Disabled.png' : 'icons/16/document_plain_new.png'" }, {title: "Open", keyTitle: "Ctrl+O", icon: "icons/16/folder_out.png"}, {isSeparator: true}, {title: "Save", keyTitle: "Ctrl+S", icon: "icons/16/disk_blue.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {isSeparator: true}, {title: "Project Listing", checkIf: "listGrid.isVisible()", click: "listGrid.isVisible() ? listGrid.hide() : listGrid.show()"} ] }); var menuButton = isc.MenuButton.create({ ID: "menuButton", autoDraw: false, title: "File", width: 100, menu: menu }); isc.HStack.create({ width: "100%", membersMargin: 20, members:[listGrid, menuButton] });
Comment