Skip to content

Fix the mouse position on selection#733

Merged
dgageot merged 1 commit intodocker:mainfrom
rumpl:fix-mouse-selection
Nov 5, 2025
Merged

Fix the mouse position on selection#733
dgageot merged 1 commit intodocker:mainfrom
rumpl:fix-mouse-selection

Conversation

@rumpl
Copy link
Copy Markdown
Member

@rumpl rumpl commented Nov 5, 2025

We used to have a title bar, but that changed and we now either only have a sidebar or the sidebar becomes the title bar depending on the window size. This means that the position of the messages component is not static any more so mouse events became wrong in certain cases (when there is no title bar). This fixes it by sending the messages component its absolute position on the screen when needed.

We used to have a title bar, but that changed and we now either only
have a sidebar or the sidebar becomes the title bar depending on the
window size. This means that the position of the messages component is
not static any more so mouse events became wrong in certain cases (when
there is no title bar). This fixes it by sending the messages component
its absolute position on the screen when needed.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@rumpl rumpl requested a review from a team as a code owner November 5, 2025 07:42
@dgageot dgageot merged commit c324706 into docker:main Nov 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants