Skip to content

[EuiColorStops] throttle EuiColorStop interactions #2498

@nreese

Description

@nreese

Dragging the EuiColorStops is a little sluggish. Part of the problem is that EuiColorStopThumb is getting new functions on each EuiColorStops render, forcing each EuiColorStopThumb to re-render even if there are not changes to it.

Throttling the drag event might help limit the renders as well as not passing new function instance into EuiColorStopThumb

cc @thompsongl

Metadata

Metadata

Assignees

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