equinor / webviz-subsurface-components

Custom subsurface visualizations for use in Webviz and/or Dash.
https://github.com/orgs/equinor/projects/24
Mozilla Public License 2.0
39 stars 40 forks source link

WellLogViewer, Typescript - Sideways scrolling not possible in Firefox #2246

Open Anders2303 opened 2 months ago

Anders2303 commented 2 months ago

The viewer's scrollbars are not visible in Firefox. I think this is just a visual issue with how Firefox hides scrollbars until you hover over the scrollable element. Is the overlay element or something else blocking this hover from being visible? As far as I know, this should be a simple fix; you should be able to apply CSS to make sure the scrollbar is always visible,

Furthermore, you should (atleast according to some guidelines) be able to scroll sideways using Shift+Scroll-wheel, but viewer does not support scrolling modifiers.

hkfb commented 2 months ago

The viewer's scrollbars are not visible in Firefox. I think this is just a visual issue with how Firefox hides scrollbars until you hover over the scrollable element. Is the overlay element or something else blocking this hover from being visible? As far as I know, this should be a simple fix; you should be able to apply CSS to make sure the scrollbar is always visible,

Good catch. Maybe the component should have a style prop? Although we have to think about how that interacts with the template prop.