Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

Tap unexpectedly handled by radio button just appeared by same tap event #47

@ypresto

Description

@ypresto

Version: 1.1.0
Reproduction: https://github.com/ypresto/vue-touch-appeared-radio-bug

screencast

  1. Create v-touch:tap element and radio buttons.
  2. Implement tap handler method which shows initially hidden radio buttons and hides tapped element.
  3. Tap the v-touch:tap element.
  4. The radio button which appeared on tapped position will be selected.

Workaround: Wrap v-touch:tap handler with setTimeout(..., 0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions