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

[](/sp) causing horizontal scroll bars in Chrome if a different emote comes after it on the same line #51

Open
Two-Tone opened this issue Oct 9, 2017 · 6 comments

Comments

@Two-Tone
Copy link

Two-Tone commented Oct 9, 2017

Link to a comment that shows this issue.

Screenshot

This happens with or without the sub's CSS enabled.

Also, a good bit of testing shows that this happens on any subreddit. The trigger is having and any emote on the same line but must come first.


Log dump

DEBUG: Platform: chrome-ext
INFO: Starting up
DEBUG: Timing: head->startup = 7 (total 7)
DEBUG: _send_message: [object Object]
DEBUG: Timing: startup->ready = 46 (total 53)
DEBUG: Got prefs
DEBUG: Got customcss
INFO: Running on Reddit
INFO: Setting up css
DEBUG: Building <link> tag to chrome-extension://bkkmhlceghomaajdimmejkhldnpleoea/bpmotes.css
DEBUG: Building <link> tag to chrome-extension://bkkmhlceghomaajdimmejkhldnpleoea/emote-classes.css
DEBUG: Building <link> tag to chrome-extension://bkkmhlceghomaajdimmejkhldnpleoea/extracss-webkit.css
DEBUG: Building <style> tag
DEBUG: Timing: ready->css = 5 (total 58)
DEBUG: Document loaded
DEBUG: Timing: css->dom = 634 (total 692)
DEBUG: Initializing search box
DEBUG: Processing 14 initial posts
DEBUG: Timing: dom->done = 13 (total 705)
@Shugabuga
Copy link
Contributor

Shugabuga commented Oct 9, 2017

Thanks for posting this here too.

I can not seem to replicate this. Tested in Safari 11.0, Firefox Nightly 58.0a1 (2017-10-05) (64-bit), Chrome 63.0.3219.0 (Official Build) canary (64-bit), and Opera 47.0. Can you try updating BPM and Chrome and report back? Also maybe try logging out and see if that makes a difference.

@Two-Tone
Copy link
Author

Two-Tone commented Oct 10, 2017

In Chromium: Logged out and disabled every extension except BPM, still see the bars

In a fresh thing of Chrome (Version 61.0.3163.100 (same version number as Chromium)), still see the scroll bar. A different Chrome user is reporting the same thing. Try replicating the bug in the stable build of Chrome/Chromium instead of the canary build?

Also, a good bit more testing shows that this happens on any subreddit. The trigger is having [](/sp) and any emote on the same line but [](/sp) must come first.

E: In chrome I noticed that "Overlay Scrollbars" in chrome://flags/ was enabled by default.

@Two-Tone Two-Tone changed the title On my sub BPM cause horizontal scrollbars to appear in comments that have [](/sp) and a subreddit emote, but no BPM emote [](/sp) causing horizontal scroll bars in Chrome if a different emote comes after it on the same line Oct 10, 2017
@Two-Tone
Copy link
Author

Some more narrowing down, but if there is text between the [](/sp) and the second emote, then the scrollbar will not appear.

eg [](/sp) [](/pp) will cause the scrollbar but [](/sp) words [](/pp) will not.

@Shugabuga
Copy link
Contributor

I wonder if it's platform specific for some bizarre reason? Are you on macOS, a Linux distro, or Windows?

@Two-Tone
Copy link
Author

Two-Tone commented Oct 10, 2017 via email

@Shugabuga
Copy link
Contributor

Maybe that's it? If you can, try testing on another operating system and see if it persists. macOS does not have this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants