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
Cannot shrink the sidebar #265
Comments
Does the sidebar resize while you drag? Does it jump back immediately when you release the mouse, or after you reload the page? |
It does resize while I drag it, and it jumps back immediately as soon as I release the mouse. I've just tested it in Chrome's private mode with all extensions disabled. |
What does |
I just deployed a change that may fix the issue. |
The problem is still there.
Also, every time I try to resize the sidebar, the console receives:
If I wipe all data from the site (through Chrome's "green lock" icon in the address bar and repeatedly clicking on "delete"), and I click "uninstall/reset the app", after the page finishes reloading the sidebar may already be back to normal, or I might get the notification that The width is fixed at 600px. Unticking the "width" attribute of |
I'm also having this problem and I found a workground: Just refrain from resizing it again, because that will set it back to 600px... |
Which OS are you using? |
Gentoo Linux. |
👍 600px Ubuntu 14.04 |
I have the same issue on Opera / Windows 10. |
I just deployed a potential fix. Could one of you try to reproduce again? (reload twice to get the new version) |
Yep, that fixed the issue for me (test done on Opera / Windows 7). |
Not for me size fixes at 600. |
Works for me in Chrome under Kubuntu 15.10. I'll check this under Gentoo later. |
Still broken for me under Gentoo, but in a very weird way. I can shrink the sidebar to the minimum width of 260px (according to the "Computed" tab under "Elements" in Chrome's developer console). When I start enlarging it by dragging it left-to-right, the sidebar follows the cursor smoothly. However, as soon as I release the mouse, it instantly jumps to a larger width, which is variable and depends on the width to which I enlarged it by dragging. Examples:
It looks like it always jumps by a factor of 5/4. |
This bug is quite insane. The same code runs @Pastafarianist could you check that there is "lastDragValue" in the script running DevDocs? (file like Is your browser window aligned with the top left corner of your screen? full screen? |
The Chrome window is typically maximized. I enabled full screen to take the screenshot. I've also just checked that the bug is reproducible in incognito with all extensions disabled and with a non-maximized window. Most surprising is that under Kubuntu I am using Chrome 47.0.2526.73 which is logged in the same Google account (hence all extensions are synchronized), and it doesn't have the issue. |
Firefox 43 on Windows: no resizing happens when dragging, and when releasing the sidebar is resized more or less accurately. Firefox 45 (DevEdition) on Windows: no resizing happens when dragging, when releasing the sidebar is set at 600px (always), and can't be resized to a different value. |
This is "normal". Firefox doesn't expose mouse coordinates on drag events. See https://bugzilla.mozilla.org/show_bug.cgi?id=505521 ¯_(ツ)_/¯
Unfortunately I can't replicate (I use BrowserStack) and ran out of ideas for how to fix this :/ |
@chule143 You might have just found the root cause. I am working on dual/triple setups so long that I didn't realize that it could be the issue. |
I managed to reproduce this bug with your datas @chule143 :
|
Using window.innerWidth instead window.screenX works for dual monitors (only for modern browsers IE9+ xD) #337 |
Thanks for the investigation. I'll take a look soon. |
Works for me both on Kubuntu and on Gentoo. Thanks! |
I expanded the sidebar by dragging its edge to the right, and now I cannot shrink it: every time I drag its edge to the left and release the mouse, it jumps back to where it started. Chrome 44.0.2403.157 (64-bit).
The text was updated successfully, but these errors were encountered: