Skip to content

www.neighborhoodscout.com - Items below the map are overlapped when the viewport is set to less than 991px #77403

Closed

Description

@webcompat-bot

URL: https://www.neighborhoodscout.com/ma/weston

Browser / Version: Firefox 89.0
Operating System: Mac OS X 10.15
Tested Another Browser: Yes Chrome

Problem type: Design is broken
Description: Items are overlapped
Steps to Reproduce:
At viewport widths less than or equal to 991px, the page items below the mapbox map are overlapped and misaligned on Firefox only. At the same viewport widths less than or equal to 991px on Chrome, the page items are not overlapped, and are aligned correctly.

Browser Configuration
  • None

From webcompat.com with ❤️

Activity

  1. added
    action-needsmoderation
    on Jun 16, 2021
  2. added this to the needstriage milestone on Jun 16, 2021
  3. added
    browser-fixme
    on Jun 16, 2021
  4. changed the title [-]In the moderation queue.[/-] [+]www.neighborhoodscout.com - design is broken[/+] on Jun 17, 2021
  5. added
    engine-gecko
    and removed
    action-needsmoderation
    browser-fixme
    on Jun 17, 2021
  6. added
    os-mac
    on Jun 18, 2021
  7. softvision-raul-bucata commented on Jun 18, 2021

    @softvision-raul-bucata
    Collaborator

    We appreciate your report. I was able to reproduce the issue. The items below the map are overlapped when the view port is set below 991px:

    Screenshot at Jun 18 17-23-09

    Tested with:

    Browser / Version: Firefox Release 89.0 (64-bit)/ Firefox Nightly 91.0a1 (2021-06-17) (64-bit)/ Chrome Version Version 91.0.4472.101
    Operating System: Mac OSX 10.15.6

    Notes:

    1. Reproducible regardless of the status of ETP
    2. Reproducible on the latest build of Firefox Nightly
    3. Works as expected using Chrome:

    Screenshot at Jun 18 17-23-56

    Moving this to NeedsDiagnosis for further investigations.

  8. changed the title [-]www.neighborhoodscout.com - design is broken[/-] [+]www.neighborhoodscout.com - Items below the map are overlapped when the viewport is set to less than 991px[/+] on Jun 18, 2021
  9. wisniewskit commented on Oct 14, 2021

    @wisniewskit
    Member

    Here is an interesting case of them using negative margins on flex-items to hack their layout so that it works in Chrome:

    .row {
        display: flex;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
    

    If I drop the negative margins, Chrome renders as Firefox does. It seems to be honoring the margin values, while Firefox does not. This seems to be confirmed if I add width:calc(100% - 60px) in Firefox, which fixes the layout. @dholbert, is it a known interop issue that Firefox and Chrome treat margins differently for flexboxes in this way?

  10. dholbert commented on Oct 14, 2021

    @dholbert

    If I drop the negative margins, Chrome renders as Firefox does. It seems to be honoring the margin values, while Firefox does not.

    Chrome is reacting to the margin values (and significantly changing its layout when they're present), and Firefox is not.

    There's some floated content just before the flex container here, with class .maplite-links, and it seems to be involved -- if I remove that element, the overlapping content issue seems to go away (in Firefox as well as Chrome-with-margins-set-to-zero-to-make-it-render-like-Firefox).

    I suspect this is https://bugs.chromium.org/p/chromium/issues/detail?id=1141209

  11. wisniewskit commented on Oct 14, 2021

    @wisniewskit
    Member

    Thanks. Then our way forward here will be a site patch and outreach attempt, while we wait for the Chrome bug report to be addressed.

  12. webcompat-bot commented on Oct 14, 2021

    @webcompat-bot
    Author
  13. added
    action-needssitepatch
    on Oct 14, 2021
  14. dholbert commented on May 8, 2022

    @dholbert

    I'm revisiting this after landing a fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1745310 (which would've fixed this):

    I tested Nightly 2022-05-01 (before that landed fix) and can't reproduce this bug anymore, so it seems the site probably changed to work around this (or perhaps had a redesign).

  15. removed
    action-needssitepatch
    on May 25, 2022
  16. softvision-raul-bucata commented on Sep 22, 2022

    @softvision-raul-bucata
    Collaborator

    The issue has been fixed and it is no longer reproducible:
    Screenshot at Sep 22 12-40-56

    Tested with:

    Browser / Version: Firefox Nightly 107.0a1 (2022-09-21) (64-bit)
    Operating System: Mac OSX 10.15.6

    Closing this as FIXED

    [inv_38/2022]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    browser-firefoxengine-geckoos-macpriority-normalseverity-minor

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions