Closed taylorvib closed 2 months ago
I don't have access to a computer right now, but it looks like the flags are working fine in the dropdown, it's just the selected flag that is misbehaving. It looks like it's the background position CSS rule that's not working properly. I'm guessing your custom site CSS is interfering with the selected flag CSS somehow?
On Fri, 10 May 2024, 2:50 pm taylorvib, @.***> wrote:
Steps to reproduce
- Can see example on our website here : https://vib.community/le/ai-ml-powered-fraud-prevention-for-websites-mobile-apps-2/
Expected behaviour
This should be the U.S. flag Actual behaviour
It is not the U.S. flag Screenshot.2024-05-10.at.9.48.14.AM.png (view on web) https://github.com/jackocnr/intl-tel-input/assets/150082759/8615b09c-b0f9-4805-b290-1201ef748eac
— Reply to this email directly, view it on GitHub https://github.com/jackocnr/intl-tel-input/issues/1607, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJBYQ7QKSFMXCVK2H6EYT3ZBTGB7AVCNFSM6AAAAABHQVPD5GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DSNZXGQZDAOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
We have been using this plugin for about a year with no issue and no changes to css, so I am not sure what could have happened or if it was a plugin update that is conflicting. On my end, even when pulling down the dropdown the US still has the wrong flag.
The only thing I can think is that you're using a flags image from a different version of the plugin, so the image file is out of sync with the CSS background-position rules.
I see you're using the plugin v17.0.8 - that's quite out of date now - I'd strongly recommend you update to the latest version, and update your flag image too, and then it should all work fine.
I'll close this for now but feel free to re-open if you're still having problems.
Can you not update this plugin from wordpress directly? It does not say it is due for an update in my dashboard. Thanks!
I am using 1.0.4 which is the latest version shown on the plugin page
Confirming I removed the plugin and reinstalled it from wordpress.org repository and same issue.
Sorry I can't help with a Wordpress plugin - you'll need to create an issue with them instead.
Is this not your plugin? This github page is linked on the plugin page for support.
Yes but I have no idea about the wordpress plugin and how it uses this plugin. You need to contact the author of that plugin and get them to update it to use the latest version of this plugin.
Steps to reproduce
Expected behaviour
This should be the U.S. flag
Actual behaviour
It is not the U.S. flag