Vue-select: Options only open when clicking the arrow, not the whole select

Created on 20 Sep 2017  路  10Comments  路  Source: sagalbot/vue-select

screenshot_1

This is terrible UX as users will think that either:

a) There's only one option available
b) The website doesn't work properly

Any way to fix this?

Most helpful comment

Just using pointer-events: none on the tag works just fine.

All 10 comments

i agree, if :searchable="false" clicking on tag should open the dropdown

I mean, it's almost common sense - and I'm not even thinking about the whole mobile experience.
I'm almost ready to stop using vue-select due to two particular quirks which haven't been fixed in months (to my knowledge) and are expected in any context I can think of:

  • This one
  • Clicking on an option that was previously selected clears the dropdown instead of just skipping any sort of activity (I have yet to see any case where this would be the expected behavior on a select item)

@sagalbot great! Now if only my point 2 was in the furnace as well ... :)

I installed the new version and now it is even worse... clicking on the tag does not toggle the dropdown and when the drop-down opens the tag is moved right on the right side of the drop-down.

That's great @sagalbot! Looking forward to those fixes 馃憤

Wrote the fix for the first one but to do so I have to stop event propagation. Going to look for a way around that.

Someone PR'd a fix for number two and I posted a temporary fix incorporating that PR without forking/cloning. See #180. @sergiocastrovale

Just using pointer-events: none on the tag works just fine.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PrimozRome picture PrimozRome  路  4Comments

jluterek picture jluterek  路  3Comments

rafalolszewski94 picture rafalolszewski94  路  3Comments

manjunath-coachthem picture manjunath-coachthem  路  3Comments

xuwenhao picture xuwenhao  路  3Comments