[PR #1695] Correction on how to get scrollTop and scrollLeft on openPopup #2867

Open
opened 2026-01-29 18:20:49 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/1695

State: closed
Merged: No


The issue:
When the Dropdown is used after the scroll, (after 100vh), when oppening the dropdown popup, it would consider that the dropdown is at 100vh and would scroll the window up to render the popup above 100vh.

Got this issue on:

  • Edge 121.0.2277.128
  • OperaGX 113.0.5230.75

To resolve, instead of checking if it's edge to decide from where to get the scrollTop and scrollLeft, it just tries to get from one of them, regardless of the userAgent.

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/1695 **State:** closed **Merged:** No --- The issue: When the Dropdown is used after the scroll, (after 100vh), when oppening the dropdown popup, it would consider that the dropdown is at 100vh and would scroll the window up to render the popup above 100vh. Got this issue on: - Edge 121.0.2277.128 - OperaGX 113.0.5230.75 To resolve, instead of checking if it's edge to decide from where to get the scrollTop and scrollLeft, it just tries to get from one of them, regardless of the userAgent.
claunia added the pull-request label 2026-01-29 18:20:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2867