Fix label click scrolling to top
What does this MR do?
This MR fixes an issue where clicking on labels scrolls to the top. It was added in this commit in order to get checkboxes working in the dropdown.
Does this MR meet the acceptance criteria?
- Changelog entry
- Documentation created/updated or follow-up review issue created
- Code review guidelines
- Merge request performance guidelines
- Style guides
- Database guides
- Separation of EE specific content
Closes #61246 (closed)