Olivier THIERRY

Results 30 comments of Olivier THIERRY

I also tried to add this in `index.d.ts` file : ``` declare module '*.svg' { const content: string export default content } declare module '*.html' { const content: string export...

Thanks for your response. I had set the setting to copy geodata into post metas, so I will try to get them this way.

I could make it work using `graphql_register_types` action. I added this piece of code in my theme. Any idea where I could add this in GeoMashup to send a pull...

I used Axios instead of Fetch and it works !

I had this "skipped" message when the service returned a plain text content while I expected JSON (even if response is empty). Maybe this is your case ?

> If using v4 of this package, you need to change your imports from > > ``` > import { ReactComponent as Icon} from '/src/assets/icon.svg'; > ``` > > to...

I still have this problem, focus is not given to the input when using `click()`. Is there a workaround for this ?

I could make it work using `focus()` to give focus to the field, then using `clear` and `type`. For example : ``` await screen.getByRole("textbox").focus(); await user.clear(screen.getByRole("textbox")); await user.type(screen.getByRole("textbox"), "something"); ```

Actually the `focus()` solution doesn't work, it is unstable :( So anyone has a reliable workaround for that ?