-
-
Notifications
You must be signed in to change notification settings - Fork 340
[consistency] Only DOM elements should be passed into user callbacks #2560
Copy link
Copy link
Open
Labels
state/awaiting-investigationAnything which needs more investigationAnything which needs more investigationtag/breaking-changeAny pull request which is waiting for a breaking change releaseAny pull request which is waiting for a breaking change releasetype/bugAny issue which is a bug or PR which fixes a bugAny issue which is a bug or PR which fixes a bug
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
state/awaiting-investigationAnything which needs more investigationAnything which needs more investigationtag/breaking-changeAny pull request which is waiting for a breaking change releaseAny pull request which is waiting for a breaking change releasetype/bugAny issue which is a bug or PR which fixes a bugAny issue which is a bug or PR which fixes a bug
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