slavomir-sidor / vopenlayers

Automatically exported from code.google.com/p/vopenlayers
0 stars 0 forks source link

Scrollbars in popup (some browsers) #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Add a vaadin component to a Openlayers-popup
2.
3.

What is the expected output? What do you see instead?
Expected: Vaadin component in popup
Instead: Popup has scrollbars (all browsers except FireFox)

What version of the product are you using? On what operating system?

Version: 1.2.0
OS: Windows 7

Please provide any additional information below.
It does not matter what size the component is, every time the scrollbars will 
show up.

Original issue reported on code.google.com by floors...@gmail.com on 30 Aug 2012 at 7:06

Attachments:

GoogleCodeExporter commented 9 years ago
Some of my users have noticed the exact same problem.  FWIW -- this does not 
happen (that I have noticed) on Mac OS X browsers (I tried Safari, Firefox, an 
Chrome) . 

Original comment by sjmcdow...@gmail.com on 30 Aug 2012 at 8:04

GoogleCodeExporter commented 9 years ago
I also know this problem from a project that include OpenLayers without Vaadin. 
Maybe it's more a OpenLayers problem. In situation I got it I have changed the 
popup style from FramedCloud to AnchoredBubble - I know there are not so nice.

Original comment by eiko.tho...@gmail.com on 19 Sep 2012 at 11:56

GoogleCodeExporter commented 9 years ago
A workaround is to update the .olFramedCloudPopupContent selector in 
OpenLayers' style.css (in your widgetset's theme/default directory) to change 
overflow from auto to hidden.
Note that once you do this any content wider than the popup window content area 
will be truncated. I've been putting my Vaadin components in a VerticalLayout 
sized with pixel dimensions to force an appropriate popup window size, and that 
works nicely.

Original comment by jr...@redzonesoftware.com on 30 Nov 2012 at 2:37