react-intl-tel-input icon indicating copy to clipboard operation
react-intl-tel-input copied to clipboard

flags not showing

Open jacky-ew opened this issue 3 years ago • 7 comments

Screenshot 2021-04-13 at 8 43 09 PM

jacky-ew avatar Apr 13 '21 12:04 jacky-ew

I am getting the same issue. Can you please help solving it?

Dhara-Actonate avatar May 26 '21 11:05 Dhara-Actonate

I have the same issue, what's the fix for that?!! any help is appreciated. Thanks

marwajomaa avatar Jun 02 '21 02:06 marwajomaa

@jacky-ew @Dhara-Actonate @marwajomaa

  1. What is your setup? Create React App? Next.js?
  2. Could you try the workaround in https://github.com/patw0929/react-intl-tel-input/issues/371#issuecomment-921258881?

andrewsantarin avatar Sep 16 '21 21:09 andrewsantarin

@jacky-ew @Dhara-Actonate @mariusandra In my case: image

Notice that the url source of background image is shown as '[object Module]' This is caused by the url-loader. You should modify your url-loader configuration with options below:

options: {
    esModule: false,
},

This will fix the issue in my case. Hope it will be helpful to you. image

rayrare112 avatar Oct 07 '21 04:10 rayrare112

I have had to install url-loader https://www.npmjs.com/package/url-loader This will fix the issue.

Hien997 avatar Sep 28 '22 02:09 Hien997

i just ran into this after upgrading react-scripts/webpack to ~v5. what works for me is following webpack asset-modules docs

{
    test: /\.png/,
    type: 'asset/resource'
}

radelcom avatar Oct 21 '22 22:10 radelcom

Thanks @radelcom - that fixed my issue as well. module: { rules: [ { test: /\.png/, type: 'asset/resource', }]}

gary-hodgson-infotrack avatar Jul 25 '23 23:07 gary-hodgson-infotrack