Skip to content

click event emitted 2 times from a single click in form field #439

@nit23uec

Description

@nit23uec

Description

  1. https://github.com/adobe/helix-rum-enhancer/blob/main/modules/index.js#L327
  2. https://github.com/adobe/helix-rum-enhancer/blob/main/plugins/form.js#L45
    potential fix: in (2), honour optelhandled flag and return if its true.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://www.similac.com/rewards.html'
  2. Click on 'First Name'
  3. Go to network tab
  4. See 2 click events

Expected behavior
A single click event should be recorded for a single click
Screenshots
If applicable, add screenshots to help explain your problem.

Version:
run: $ hlx --version

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions