Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsf.org - see bug description #12255

Closed
karlcow opened this issue Oct 9, 2017 · 7 comments
Closed

rsf.org - see bug description #12255

karlcow opened this issue Oct 9, 2017 · 7 comments
Labels
browser-firefox engine-gecko The browser uses the Gecko rendering engine Re-triaged Items re-triaged by Oana&Sergiu, to see which ones are still valid severity-important A non-core broken piece of functionality, not behaving the way you would expect. status-second-contact type-stylo Firefox stylo engine
Milestone

Comments

@karlcow
Copy link
Member

karlcow commented Oct 9, 2017

URL: https://rsf.org/fr/france

Browser / Version: Firefox 58.0
Operating System: Mac OS X 10.13
Tested Another Browser: Yes

Problem type: Something else
Description: When scrolling with the trackpad over the text the full page is moving too
Steps to Reproduce:

  1. Go to https://rsf.org/fr/france with Firefox 58.0a1 (2017-10-08) (64-bit)
  2. Scroll the page so the area with the long description is visible.
  3. Put your cursor over this area.
  4. Try to scroll with the trackpad.

Expected: The text area is scrolling until the end of the text, then the full page
is moving (like in Safari)

Actual: The text area is slightly moving at the same time than the full page. Control is difficult.

Also tested in Safari Version 11.0 (13604.1.38.1.6) and with Opera 49 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.29 Safari/537.36 OPR/49.0.2725.12 (Edition beta))

layout.css.servo.enabled: true
Screenshot Description

From webcompat.com with ❤️

@karlcow
Copy link
Member Author

karlcow commented Oct 9, 2017

The html markup is

<div class="slimScrollDiv" style="position: relative; overflow: hidden; width: auto; height: 350px;">
    <div class="white-b__text" style="overflow: hidden; width: auto; height: 350px;">
        <h3 class="font-24 white-b__overview-title bold">
            <div class="field field-name-field-rsf-subtitle field-type-text-long field-label-hidden">
                <div class="field-items">
                    <div class="field-item even">Une presse libre mais la concentration inquiète</div>
                </div>
            </div>
        </h3>
        <span class="font-18 content-page__body">
            <div class="field field-name-description-field field-type-text-with-summary field-label-hidden">
                <div class="field-items">
                    <div class="field-item even">
                        <p>Si la presse … à l’égard des journalistes. </p>
                    </div>
                </div>
            </div>
        </span>
    </div>
    <div class="slimScrollBar" style="background: rgb(226, 226, 226) none repeat scroll 0% 0%; width: 7px; position: absolute; top: 60px; opacity: 0.4; display: none; border-radius: 7px; z-index: 99; right: 1px; height: 172.293px;"></div>
    <div class="slimScrollRail" style="width: 7px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 7px; background: rgb(51, 51, 51) none repeat scroll 0% 0%; opacity: 0.2; z-index: 90; right: 1px;"></div>
</div>

with the css

element {
	position: relative;
	overflow: hidden;
	width: auto;
	height: 350px;
}
element {
	overflow: hidden;
	width: auto;
	height: 350px;
}

There are events set on `div.white-b__text` to handle the scroll.

Screenshot Description

This is using

/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Version: 1.3.6
 *
 */

It is maintained at https://github.com/rochal/jQuery-slimScroll

And these old issues look very close

That said the project seems to be completely unmaintained.

@karlcow karlcow added this to the needsdiagnosis milestone Oct 30, 2017
@softvision-sergiulogigan softvision-sergiulogigan added the Re-triaged Items re-triaged by Oana&Sergiu, to see which ones are still valid label Apr 24, 2018
@softvision-sergiulogigan

The text area is slightly moving at the same time than the full page.

The issue is still present.

Tested on Mac OS 10.13, with Nightly 61.

@karlcow
Copy link
Member Author

karlcow commented Aug 14, 2018

Yes so I checked again the library. I even modified

          window.addEventListener ? (this.addEventListener('DOMMouseScroll', v, !1), this.addEventListener('mousewheel', v, !1), this.addEventListener('MozMousePixelScroll', v, !1))  : document.attachEvent('onmousewheel', v)o 

But then it scrolls a bit too fast.

I think we should switch to needscontact. The library is not maintained. Nothing has happened there.
and the scrolling solution is slightly broken.

@karlcow karlcow closed this as completed Aug 14, 2018
@karlcow karlcow reopened this Aug 14, 2018
@karlcow karlcow modified the milestones: needsdiagnosis, needscontact Aug 14, 2018
@adamopenweb
Copy link
Collaborator

Reaching out by site contact form:
https://rsf.org/en/contact

@adamopenweb adamopenweb modified the milestones: needscontact, sitewait Aug 16, 2018
@miketaylr miketaylr added the engine-gecko The browser uses the Gecko rendering engine label Apr 30, 2019
@cipriansv
Copy link

I retested the issue and it is still reproducible on my side.

Tested with:
Browser / Version: Firefox Nightly 70.0a1 (2019-08-11)
Operating System: macOS Mojave 10.14.5

@cipriansv cipriansv added the severity-important A non-core broken piece of functionality, not behaving the way you would expect. label Aug 12, 2019
@karlcow
Copy link
Member Author

karlcow commented Oct 29, 2019

It's broken in Safari in a different way now.

Screenshot Description

and in chrome

Screenshot Description

Let's close it as non-compat.

@karlcow
Copy link
Member Author

karlcow commented Oct 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-firefox engine-gecko The browser uses the Gecko rendering engine Re-triaged Items re-triaged by Oana&Sergiu, to see which ones are still valid severity-important A non-core broken piece of functionality, not behaving the way you would expect. status-second-contact type-stylo Firefox stylo engine
Projects
None yet
Development

No branches or pull requests

6 participants