JDK-8089614 : JavaFX webview issue with css overflow: hidden
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u25
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-01-14
  • Updated: 2018-09-06
  • Resolved: 2017-05-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Duplicate :  
Description
I have an issue with JavaFX WebView component. 

Preconditions:

load this leaflet maps: 
http://cliffcloud.github.io/Leaflet.LocationShare/

(e.g. by http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/index.html#SAMPLES/Web/Web%20View)

overflow on map content has: 
overflow: hidden

Reproduce Path: 
1. click marker icon on the left 
2. on input with text 'enter your message' do click and move (mouse drag) to right edge of the map
3. All of the map content is scrolled - this is the issue

Same actions on any webbrowser (firefox, chrome) not reproduce this issue. 
This behavior is reproducible on webbrowser (firefox, chrome) only when overflow set on 'visible', when it's 'hidden' webbrowsers not allow to scrollcontent by mouse drag (click + move on input field).

Why javaFX browser does not behave the same way as other webbrowsers ? 
Comments
Popup dialog is rendered at wrong place. That's the reason map can be scrolled on dragging the mouse over the popup dialog. Popup dialog is being placed using transform:translate3d. If L_DISABLE_3D is set to true globally in the Leaflet library, popup is rendered at correct place and it works fine. For more info about L_DISABLE_3D pls refer https://github.com/Leaflet/Leaflet/issues/3991.
05-05-2017

Still reproducible with 8u-dev/9.
03-08-2015