Skip to content

onPanelWidthChange for EuiResizeableContainer only provides sizes for two panels #3466

@atifsyedali

Description

@atifsyedali

First, thank you for this amazing library of components!

Problem:

  1. When I attach an onPanelWidthChange on an EuiResizableContainer, the provided argument only gives sizes for two panels that are currently change.

  2. Furthermore, it assumes those two panels are the only ones in the container, such that one panel takes up the space of the other panels not indexed in the provided object.

  3. I have to end up doing _.extend({}, oldState, newState) but this is problematic too because of (2) above.

Not sure how to solve this atm. Any help would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions