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

scroller widget - full width table resizing #1229

Open
ElVisPL opened this issue Jun 15, 2016 · 3 comments
Open

scroller widget - full width table resizing #1229

ElVisPL opened this issue Jun 15, 2016 · 3 comments

Comments

@ElVisPL
Copy link

ElVisPL commented Jun 15, 2016

Basing on example: https://mottie.github.io/tablesorter/docs/example-widget-scroller.html

Full width table is not resizing correctly when you resize from full-window to smaller one by double clicking window handler.

  • when you do otherwise (from smaller window to full) it is ok
  • when you resize window by dragging - it is ok either

So the problem only appears when you are resizing by double click and from full-size browser window to smaller one

@ElVisPL ElVisPL changed the title scroller widget - full table width resizing scroller widget - full width resizing Jun 15, 2016
@ElVisPL ElVisPL changed the title scroller widget - full width resizing scroller widget - full width table resizing Jun 15, 2016
@Mottie
Copy link
Owner

Mottie commented Jun 15, 2016

Hi @ElVisPL!

Thanks for reporting this issue. It looks like it is only happening in Firefox.

I think I found the problem and will have a patch available soon.

@ElVisPL
Copy link
Author

ElVisPL commented Jun 15, 2016

Hello @Mottie. Thank you for response!
However I think we talk about different issues :)

I will show it on screenshots.

  1. This is full-width table when browser (firefox,chrome) is in maximized window:

http://imgur.com/XCRrmvg

2)I minimize window - horizontal scrollbar appears

http://i.imgur.com/RceA2L4.png

3)I refresh page in that minimized mode, or force window resize event by slightly changing window size (by dragging window border) - please see that there is no horizontal scroll bar anymore -table again fits window width perfectly, but the table size is the same as in 2)

http://i.imgur.com/jVelDa9.png

I would expect that after minimizing window in 2) table would not have that horizontal scroll and behave like 3) (of course unless width < some min-width). What you think? :)

@Mottie
Copy link
Owner

Mottie commented Jun 15, 2016

Hmmm, ok I'll have to look into that when I get some more free time.

@Mottie Mottie reopened this Jun 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants