Closed Bug 1542753 Opened 5 years ago Closed 5 years ago

Scroll bar missing in pop-up window

Categories

(Core :: DOM: Core & HTML, defect)

Desktop
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1429900
Tracking Status
firefox66 --- affected
firefox67 --- affected
firefox68 --- affected

People

(Reporter: benjamin.follett, Unassigned)

Details

(Keywords: webcompat:site-wait)

Attachments

(1 file)

Attached image no_scroll bar.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

Steps to reproduce:

Sign up for zoom webinar that requires payment integration through PayPal. PayPal pop-up launches with no scroll bar and no ability to move down the webpage.

Actual results:

Could not scroll down the page, therefore unable to enter information.

Expected results:

Scroll bar should be available for scrolling.

Summary: Scroll bar missing in pop-up windown → Scroll bar missing in pop-up window

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Hi,

I followed the steps and I have managed to reproduce this issue on latest FF release (66.0.3), latest Nightly (68.0a1) and Beta version (67.0b9) using OS-es Windows 10 and Ubuntu 18.04
Note that when to pop-up appears, you can not scroll down, but if you copy the link from address bar and paste it in a new tab the scroll bar appears and you can scroll down.
The issue is not reproducible on Chrome

I will add a component in order to involve the development team in reviewing this issue. If this is not the proper component, please feel free to change it to a more appropriate one.

Thank you for your report.

Status: UNCONFIRMED → NEW
Component: Untriaged → Widget: Gtk
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → Desktop
Version: 66 Branch → Trunk

I think layout is more suitable for that when it affects both Windows and Linux.

Component: Widget: Gtk → Layout: Scrolling and Overflow

Sample webinars can be found here: https://risa.com/e_webinar.php

I'm able to reproduce this in current Nightly. The reason we show no scrollbars is that the site is requesting no scrollbars in its window.open call, like so:


  a.click(function () {
    var s = $(this);
    var t = s.attr('data') + '&displayMode=minibrowser';
    var r = window.open(t, 'Popup', 'toolbar=0,scrollbars=0,width=500,height=500,left = 490,top = 120');

https://d24cgw3uvb9a9h.cloudfront.net/static/93525/js/app/webinar/register.min.js

Notice scrollbars=0 in the third argument there, the "options" string.

Having said that: if I use code like this ^^ in a local testcase, I still end up with scrollbars. So I'm not sure what else influences whether scrollbars actually show up or not. Also, https://developer.mozilla.org/en-US/docs/Web/API/Window/open has a "Scrollbars" documentation section which suggests we intended to stop honoring this option and always show scrollbars as of Firefox 49. So it may be that there's a race condition or an edge case where we still respect this option but don't intend to.

Ah, it looks like the MDN's mentioned Firefox 49 change was bug 1257887. As noted in that bug's initial comment:

  • it sounds like we currently support scrollbars=no
  • whereas Chrome/Safari do not have any way to disable scrollbars

...which is why we end up with a popup without scrollbars here.

So this is things working-as-expected, aside from the fact that the website is doing something silly which we should perhaps ignore/unsupport like Chrome/Safari do. And it looks like we have bug 1429900 filed on doing that --> duping.

Status: NEW → RESOLVED
Closed: 5 years ago
Component: Layout: Scrolling and Overflow → DOM: Core & HTML
Resolution: --- → DUPLICATE

In the meantime, we might want to do outreach to Zoom to see if they'd consider removing this scrollbars=0 option from their window.open JS function-call that I quoted/linked in comment 3, because in fact they rely on the browser not respecting that option. (The payment form is broken in Firefox simply because we do respect that option, whereas it works & is scrollable in other browsers because they don't respect that option.)

So Zoom is getting no benefit from having that, and it's just breaking things for Firefox users and preventing them from paying, which is potentially losing customers/revenue for Zoom and giving our users a rough time.

miketaylr, maybe you or someone on your team could get in touch with Zoom?

Flags: needinfo?(miket)

Reaching out internally to find the best contact for this. Will leave ni?

I have reached out to Zoom, and CC'd the appropriate Zoom associates to begin working on this bug.
Zoom Issue Tracking: https://support.zoom.us/hc/en-us/requests/1211726

Thank you Mark!

Flags: needinfo?(miket)

Update: Zoom's engineering was able to finally implement the fix to the Firefox window for Paypal. I just tested it on my Firefox and it worked fine. Let me know if you experience any issues with this in the future. Thanks!

Great, thanks!

I'll take your word for it -- I tried to retest but my RISA zoom-webinar link from comment 3 doesn't work anymore (all the sessions there seem to be prerecorded youtube videos now, rather than sign-up-and-paypal'able-zoom-sessions).

@reporter Ben, if you happen to be able to retest & let us know whether this is working for you now, that would be great!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: