Closed ghost closed 5 years ago
So as far as functionality goes, this looks good. Thanks for the contribution!
However, in order to make this actually work for most users, we'll need to minify the JS files into the /build directory, which is where most folks load them from.
If you could please update your pull request with this change, I'd be happy to accept it.
It's OK @mrmarkfrench, I have tested the minified file and everything is OK for me. I let you test also on your side. 👋
Looks like there's still a conflict. Did you pull down the most recent version before you minified?
Oops, I didn't fetch the upstream, sorry. Should be good now
Thanks for the contribution!
Hi,
This code refers to #57 and #22 issues. I added the
responsiveDropdown
option as it is referred into the readme. The option is false by default, unless if the window's width is smaller than 768px (based on Bootstrap's small size). This works with multiplecountrySelect
if they have different sizes. The.country-list
width is set on load then on resize.This is my first contribution to an open source project and I'm not an expert of Javascript so maybe we'll have to change few things in my code.
Please note that the minified js has not changed