Skip to content

Mutable drawing element issue #4

@chihsuanwu

Description

@chihsuanwu

In contrast to Android, web drawing elements are mutable, which can pose a problem in current implementations.

For instance, an editable Polyline like this:

var data: List<LatLng> by remember // ...
Polyline(
    points = data,
    editable = true,
    // ...
)

When a user edits the polyline, the original data won't change. Althought it's possible to add callbacks to onDragEnd and onMouseUp, this approach deviates from the preferred Compose way of doing things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions