Skip to content

Remove dropdown option from calculatePosition#1031

Merged
mkszepp merged 5 commits intomasterfrom
drop-passing-component-class-to-calculate-position
Dec 12, 2025
Merged

Remove dropdown option from calculatePosition#1031
mkszepp merged 5 commits intomasterfrom
drop-passing-component-class-to-calculate-position

Conversation

@mkszepp
Copy link
Copy Markdown
Collaborator

@mkszepp mkszepp commented Dec 12, 2025

Since version 3.x, we have been passing the dropdown class instance (this reference) to calculatePosition.
This allowed custom calculatePosition to access all non-private getters and functions of the class.

However, there is no valid reason for it to access all internal getters and functions.
If additional helpers or functionality are needed, we should extend the public API instead.

@mkszepp mkszepp changed the title Remove passing component class to calculatePosition Remove dropdown option from calculatePosition Dec 12, 2025
@mkszepp mkszepp mentioned this pull request Dec 12, 2025
17 tasks
@mkszepp mkszepp merged commit b9bfd65 into master Dec 12, 2025
19 checks passed
@mkszepp mkszepp deleted the drop-passing-component-class-to-calculate-position branch December 12, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant