LouisMazel / maz-ui

Vue & Nuxt library of standalone components & tools to build interfaces

Home Page:https://maz-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Issue][MazPhoneNumberInput] Country list hiding doesn't work

vladkolotvin opened this issue · comments

You can open country list by click on down arrow. But click on up arrow doesn't close it.

commented

Hi @vladkolotvin,

It's a normal behavior.
I want the same behavior as the native HTML <select />

You can close the component only when you choose a value or you blur the component: https://developer.mozilla.org/fr/docs/Web/HTML/Element/select

@LouisMazel

It's a normal behavior.

I'm using firefox and native select can be closed by click on a default value
https://user-images.githubusercontent.com/768260/167851426-3554f7e2-7033-478a-bfec-5f86e0778e44.mov

commented

You not clicking on the input but on the empty option in the list.

May be I will developing this feature but I'm not sûre