Skip to content

Window scrolls on first click #1228

@ansjob

Description

@ansjob

I have an issue which causes different problems in different browsers.
I create a simple map and added a few markers, and when I click anywhere in the map the following happens depending on which browser I use:

  • Chrome 23: The window scrolls vertically down to center the mouse pointer
  • Firefox 17: The popup for the marker only fades in "half way"
  • IE 8: The map enters some "dragging" mode and follows the cursor just like when clicking and dragging the map, this does not end until I click again (probably when there's an "on up" event).

The code is fairly integrated into my project, so it's a bit difficult to extract something that'll be useful to you guys, I'm just looking for a pointer in the right direction of where the problem could lie.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions