v12.0p_2020-02-02/LGPL Deployment
Chrome Version 81.0.4044.92 (Official Build) (64-bit)
Hello, we are trying to have a MenuButton as the rollOverCanvas of a ListGrid. We can get the button up and working, but the issue seems to be that when you click the menu button, and the menu drops down, once you hover the dropped-down menu the actual menu button disappears. If you go slow enough the menu will also disappear and the hover will trigger the rollOverCanvas of the next roll. Is this a reasonable thing that we want to do? And if so how would you recommend we do so without this strange feeling behavior?
We have also tried record components instead of a rollOver where they are just hidden at first, and on rowOver we show them and rowOut we hide them, but that had very similar implications as well. Any advice would be greatly appreciated! Thanks in advance.
Here is a working example:
Chrome Version 81.0.4044.92 (Official Build) (64-bit)
Hello, we are trying to have a MenuButton as the rollOverCanvas of a ListGrid. We can get the button up and working, but the issue seems to be that when you click the menu button, and the menu drops down, once you hover the dropped-down menu the actual menu button disappears. If you go slow enough the menu will also disappear and the hover will trigger the rollOverCanvas of the next roll. Is this a reasonable thing that we want to do? And if so how would you recommend we do so without this strange feeling behavior?
We have also tried record components instead of a rollOver where they are just hidden at first, and on rowOver we show them and rowOut we hide them, but that had very similar implications as well. Any advice would be greatly appreciated! Thanks in advance.
Here is a working example:
Code:
isc.ListGrid.create({ height: 500, width: 600, showRollOverCanvas: true, useCellRollOvers: false, showRollUnderCanvas:false, defaultFields: [ { name: "someValue", type: "text" }, { name: "otherValue" }, ], initWidget: function () { this.Super("initWidget", arguments); this.setData([ { someValue: "first" }, { someValue: "second" }, { someValue: "third" }, ]); }, rollOverCanvasConstructor: isc.HLayout, rollOverCanvasProperties: { width: 288, snapTo: "R", initWidget: function () { this.Super("initWidget", arguments); this.addAutoChild("testButton"); }, testButtonDefaults: { _constructor: isc.MenuButton, title: "some nice menu button", initWidget: function () { this.Super("initWidget", arguments); this.menu = isc.Menu.create({ autoDraw: false, showShadow: true, shadowDepth: 10, data: [ {title: "New", keyTitle: "Ctrl+N" }, {title: "Open", keyTitle: "Ctrl+O" }, {isSeparator: true}, {title: "Save", keyTitle: "Ctrl+S" }, ] }); } } } })
Comment