Hi,
I have a strange issue on FireFox with a datatable in a popup window.
The horizontal scrollbar shows (thin) and does not change to it’s thick varant on hover-ing the scrollbar, and does not respond to any mouse events.
The vertical scrollbar shows and when hover-ing becomes thick and responds to mouse events.
In Chromium and Opera, the scrollbars are not dynamic (aka aways shown thick) and DO work.
Is this a known problem ?, Is there a workaround?
Shall I open a ticket?
OS: Linux
FireFox version : 151.0.2
Webix version: 11.3.3
Later:
I tracked this down to this line in source/views/vscroll.js
Apparently, something went wrong when calculating the contentFits varable.
To me, this looks like a bug. I can, however work aroud this, by adding an onBeforeShow handler for the popup window which overrides the pointerEvents to “auto” like this:
on: {
onBeforeShow: () => {
const hs = $$(winId).getNode().querySelector("div.webix_ss_hscroll");
if (hs) {
hs.style.pointerEvents = "auto";
}
},
Thanks
-Fritz