react-google-maps icon indicating copy to clipboard operation
react-google-maps copied to clipboard

How to stop Autocomplete from re-rendering input fields but render everything else?

Open MariuzM opened this issue 4 years ago • 1 comments

So every time i chose something on the list it removes it. How can i stop this and only re-render the map but not the input field?
Example code: https://codesandbox.io/s/suspicious-ride-5ht4o

MariuzM avatar Dec 06 '19 14:12 MariuzM

@MariuzM I had made major refactoring on your example, and using React hooks and components from `@react-google-maps/api' instead of 'react-google-maps'

this is my version. https://codesandbox.io/s/interesting-bird-t26qb

Enjoy.

Please use https://github.com/JustFly1984/react-google-maps-api/issues/318

JustFly1984 avatar Dec 07 '19 01:12 JustFly1984