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

Remove vertical scrollbar #567

Closed
wants to merge 1 commit into from
Closed

Remove vertical scrollbar #567

wants to merge 1 commit into from

Conversation

Jaifroid
Copy link
Member

@Jaifroid Jaifroid commented Sep 3, 2019

Fixes #566.

@Jaifroid Jaifroid added the bug label Sep 3, 2019
@Jaifroid Jaifroid added this to the v2.7 milestone Sep 3, 2019
@Jaifroid Jaifroid requested a review from mossroy September 3, 2019 05:16
@Jaifroid Jaifroid self-assigned this Sep 3, 2019
Copy link
Contributor

@mossroy mossroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's a good solution, as some content can get hidden this way.
Take any wikimedia ZIM file on Chromium, for example, and you'll see that the bottom of "This article is issued from ..." is cut

@Jaifroid
Copy link
Member Author

Jaifroid commented Sep 7, 2019

Hmm, I think that's a different issue which is not related to #566 as far as I can tell. This PR is about the extra uselesss scrollbar. What you're reporting is a version of a longstanding issue covered (perhaps indirectly) by #120, #337 or #386. I've checked on master, and the cutoff (worse on older ZIMs, better on recent ZIMs of type "maxi") is the same before and after this PR. The only difference is that the extra vertical scrollbar shows before this PR, but that extra scrollbar doesn't help to scroll the iframe further down beyond the cutoff (it is a completely useless scrollbar). So I think this PR does address the reported issue, and we should fix the longstanding issue of content cut off by the bottom bar as part of #523, or else in a specific PR if you think there's a different viable solution. (You may remember we once had to add some <br /> padding to the end of the content to work around this issue in jQuery mode, but that doesn't work in SW mode, and we weren't ever satisfied with that kludge...).

@Jaifroid
Copy link
Member Author

Jaifroid commented Sep 7, 2019

PS The extra scrollbar is produced by the "search-article" div, which has no bearing on the iframe, and therefore on the content in the iframe.

@Jaifroid
Copy link
Member Author

Hey @mossroy , I wondered if you had further thoughts about this PR (reading my comments above). As I say there, I don't think the issue you report pertains to this PR, which is merely about removing the extra vertical scrollbar. The extra scrollbar in question doesn't appear to govern the amont of content shown in the iframe, evinced by the fact that you can't actually scroll it at all.

@mossroy
Copy link
Contributor

mossroy commented Sep 22, 2019

Sorry that I did not have the time to work on that.

Before the bootstrap upgrade, it' true that we already had issues with the bottom content.
But having some content behind the bottom bar is not the same as having some content not visible at all.
When it's behind the bottom bar, it's still mostly visible as the bottom bar is transparent (even if links can not be clicked). And the content can become completely available if we remove (or hide) the bottom bar.
With this PR, the content seems lost to me.
Using overflow: hidden hides the content that does not fit (see examples in https://developer.mozilla.org/fr/docs/Web/CSS/overflow )

But, after testing a bit more, I noticed that this issue was already present before the bootstrap upgrade, a least on Chrome (in SW mode). So it might not be a regression caused by the upgrade.

@mossroy
Copy link
Contributor

mossroy commented Oct 25, 2019

@Jaifroid : I suggest to close this PR for now, as both of us did not have the time to work on it in the last month

@mossroy mossroy closed this Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

There is a vertical scrollbar since bootstrap 4
2 participants