Skip to content

PointerEnterEvent and PointerExitEvent can only be created from hover events #29696

Closed

Description

@gspencergoog

When testing mouse hover support in a custom embedder, @ds84182 noticed crashes in MouseTracker due to an implicit downcast from PointerEvent to PointerHoverEvent. The _lastMouseEvent map can contain PointerMoveEvents and PointerDownEvents, in addition to PointerHoverEvents, so it should allow a PointerEvent, not just PointerHoverEvents.

Activity

  1. self-assigned this
    on Mar 20, 2019
  2. gspencergoog commented on Jul 10, 2019

    @gspencergoog
    ContributorAuthor

    This has been fixed for a while.

  3. github-actions commented on Aug 29, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

a: desktopRunning on desktopc: API breakBackwards-incompatible API changes

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions