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

Clarify browser support #15

Closed
JedWatson opened this issue Nov 15, 2014 · 13 comments
Closed

Clarify browser support #15

JedWatson opened this issue Nov 15, 2014 · 13 comments
Assignees

Comments

@JedWatson
Copy link
Owner

This component is currently only tested in browsers I have on hand; latest Safari, Chrome and Firefox on Mac.

It would be great to get a proper support matrix (and tests) going, so people know what to expect and changes can be tested.

None of the javascript involved is particularly special, and we avoided fancy css as well (e.g. flex-box layout) that would have blocked older browsers, so in theory it should be as well supported as React is, and hopefully any issues will be only css / style related.

@nchase
Copy link

nchase commented Jan 2, 2015

Works as expected in IE11.

@Helenka
Copy link

Helenka commented Feb 18, 2015

some notes about working in IE (9+):
There is a bug when trying to use scrollbar up/down/thumb buttons in drop-down select menu. The menu disappears immediately and doesn't allow to choose or view something.

@JedWatson
Copy link
Owner Author

Thanks for the report @Helenka, that issue was recently fixed by @rovolution with #98

@flodiebold
Copy link

The bug mentioned by @Helenka seems to have either reappeared or not been completely fixed. I can reproduce it with react-select 0.6.7 and IE 11. The reason seems to be that clicking the scrollbar causes the input to lose focus, which then causes the menu to close.

(By the way, Microsoft provides nice testing VMs for IE at https://dev.modern.ie/tools/vms/).

@patrickgaskill
Copy link

I was able to fix the reappearing IE11 bug that @flodiebold mentioned. Should I create a new issue for it and submit a PR for it?

@Trav84
Copy link

Trav84 commented Dec 16, 2015

@patrickgaskill I'm experiencing this bug as well, would it be possible to see your fix?

@shepmaster
Copy link

I am also seeing an issue where one of my 4 Select components immediately closes in IE11. I have yet to determine what makes that one special. @patrickgaskill, is there a chance of seeing what your fix was?

@shepmaster
Copy link

what makes that one special

Of course I figure it out immediately... I had a <label> tag wrapped around the component:

<div className="form-part form-state">
  <label>
    <span className="form-label">State of Birth</span>
    <Select searchable={false} clearable={false} name="state" placeholder="STATE" options={STATES} />
  </label>
</div>

Removing the label fixed the janky behavior for me in IE11.

@patrickgaskill
Copy link

@shepmaster My fix was for an older version of the code, and none of it seems to apply now, unfortunately. The idea was to stop handleInputBlur from setting isOpen: false directly, and instead call _closeMenuIfClickedOutside. It's been working fine in production for a couple months now.

@FezVrasta
Copy link

You may use SauceLabs, I use it successfully for one of my projects, it's fairly easy to setup.

@beeccy
Copy link

beeccy commented Nov 7, 2017

I also had the same issue as @shepmaster where there was a <label> around a <Select> made the drop down malfunction in IE 11 and by removing the <label> surrounding the <Select> the drop down menu worked properly again.

@JedWatson
Copy link
Owner Author

Supported browsers are now IE11+ and "last 2 versions" of everything else, as defined in the .browserslistrc file in v2.

Methuselah96 pushed a commit to Methuselah96/react-select that referenced this issue Nov 14, 2020
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@aashini273
Copy link

aashini273 commented Mar 29, 2021

I am seeing an issue on Chrome browser for Mac OS BigSur where my left padding disappears when I click on dropdown to select an item. Does anyone face similar issue and/or have a fix for this ? Thanks in advance!

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

10 participants