vue3-google-map icon indicating copy to clipboard operation
vue3-google-map copied to clipboard

Custom control makes the map jump

Open cadilhac opened this issue 1 year ago • 4 comments

Adding a custom control (in my case this is a button but it can be a simple unstyled text for the test) in the map creates 2 issues:

  • A nasty visual effect. The custom control initially appears in the corner above the zoom buttons during a very short time, then it goes where it has to be placed.
  • But what is more serious is that, at the same time, the map kind of jumps a few pixels to the left then back to the right. This visual bug is not nice but it also produces 3 idle events. Note that if I remove the custom control, then the map displays well and creates only one idle event.

Any idea why it does that?

cadilhac avatar Nov 07 '23 17:11 cadilhac