Skip to content

DevTools: Updating numeric state through incrementer/decrementer doesn't render the updated value  #16808

Closed
@13thThief

Description

@13thThief

Do you want to request a feature or report a bug?

Report a Bug

What is the current behavior?

If there is a state variable that holds a number, updating it via incrementer/decrementer doesn't render the updated value in the component. Instead it only updates if you focus (click) onto the field and press Enter.

What is the expected behavior?

The incrementer/decrementer should render the updated value without having to focus onto the field and press Enter.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

React Devtool: 4.0.6
Browser: Firefox Dev 70.0b6 (64-bit)

(Timer state variable updates the value in Session)
hfo_19

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions