Skip to content

Add events for ui element visibility #24491

@Freyja-moth

Description

@Freyja-moth

What problem does this solve or what need does it fill?

Currently when updating ui elements you need to do it whenever something related to it changes.

However this isn't always ideal, especially with more computationally expensive formulas.

What solution would you like?

Add an EnteredView, and ExitedView events for ui elements

It may also be useful to add a InView component so that ui elements will only update when they are in view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-FeatureA new feature, making something new possibleD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedX-ContentiousThere are nontrivial implications that should be thought through

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Needs SME Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions