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

Overflow auto sizing bug on Safari #31

Open
zelliott opened this issue Jun 18, 2015 · 1 comment
Open

Overflow auto sizing bug on Safari #31

zelliott opened this issue Jun 18, 2015 · 1 comment

Comments

@zelliott
Copy link

One of the CSS rules on line 113 (.resize-triggers > div { overflow: auto; }) causes Safari to set overflow on contract-trigger and expand-trigger to auto, obviously. When used with a scrollable div, Safari gives these two divs a smaller width (because of the overflow: auto generates space for an invisible scrollbar) This causes the vertical scrollbar on the div to be un-clickable.

As a fix, I simply removed the overflow: auto rule from the plugin, but am now obviously worried about unknown side-effects. What was the original purpose of this rule?

I'll try to attach a jsbin or something ASAP.

@longzheng
Copy link

I've also run into this issue. An alternative I'm testing is adding the .resize-triggers element to the first child of the parent element (rather than the last child like is currently).

This seems to achieve the same outcome (Safari's scrollbars don't block clicks from the other content.

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