React-select: autosize=false blocks the opening of the menu after being focused

Created on 20 Oct 2016  路  4Comments  路  Source: JedWatson/react-select

Hi,

When autosize=false the code on handleMouseDown blocks the menu of being opened for the second time after getting the focus. You will not be able to open it by clicking. When you focus anywhere else and click back the menu opens again. This is does not affect AutosizeInput.

        if (event.target.tagName === 'INPUT') {
            return;
        }

regards,
geraldodev

Most helpful comment

I have submitted a PR that should solve this issue: #1746

All 4 comments

@dave-clover can you link me the line in question?

Hey @dave-clover,

That fixed a minor UI quirk. Here's the PR describing what it does. https://github.com/JedWatson/react-select/pull/946

I have submitted a PR that should solve this issue: #1746

I've been able to reproduce this and resolved it differently to #1887, see the referenced commit for more information

Was this page helpful?
0 / 5 - 0 ratings