Skip to content

[consistency] Only DOM elements should be passed into user callbacks #2560

Description

@mvorisek

Bug Report

Steps to reproduce

see callbacks in the code/source, some are invoked with DOM element, some with DOM element wrapped in jQuery

example:

as user can always wrap the param in jQuery when he needs to, I would expect all arguments to be unified to pass DOM elements only to remove this inconsistency

Expected result

all user callbacks are invoked with DOM elements instead of wrapping them in some modules in jQuery

Actual result

in some modules, DOM element is passed, in others, DOM element wrapped in jQuery is passed

Version

2.9.0/master

Metadata

Metadata

Assignees

No one assigned

    Labels

    state/awaiting-investigationAnything which needs more investigationtag/breaking-changeAny pull request which is waiting for a breaking change releasetype/bugAny issue which is a bug or PR which fixes a bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions