Skip to content

[EuiResizableContainer] Resizing mouse loses dragging if move out of panels #4931

Closed

Description

@shahzad31

EuiResizableContainer when dragging, if mouse leaves the main container event handler is unattched. User have to click again on resizeable button to resize.

I think event handler attachment should be adjusted to make sure even if it leaves container , event handler remains attched.

We can also allow user passing the container element to which we want to attach the mouse event.

Activity

  1. shahzad31 commented on Jun 30, 2021

    @shahzad31
    ContributorAuthor

    it also doesn't work if you have elastic chart in one of the container, mouse get's captured by chart

  2. changed the title [-]EuiResizableContainer resizing mouse looses dragging if move out of panels[/-] [+][EuiResizableContainer] Resizing mouse loses dragging if move out of panels[/+] on Jun 30, 2021
  3. shahzad31 commented on Jan 10, 2024

    @shahzad31
    ContributorAuthor

    closing since no activity

  4. cee-chen commented on Jan 10, 2024

    @cee-chen
    Contributor

    Hey Shahzad! Sorry for not seeing this until just now - is this still something you'd like EUI to grab? The logic would fairly similar to what we just did in EuiFlyoutResizable, so I'd be happy to grab it while I'm still in that headspace.

  5. shahzad31 commented on Jan 10, 2024

    @shahzad31
    ContributorAuthor

    Hey Shahzad! Sorry for not seeing this until just now - is this still something you'd like EUI to grab? The logic would fairly similar to what we just did in EuiFlyoutResizable, so I'd be happy to grab it while I'm still in that headspace.

    @cee-chen for sure please go ahead. I was just cleaning up the issues I have created in different repos

  6. self-assigned this
    on Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions