Current mechanism about disabled
is simplified and have some problems. For example, disabling a folder prevents pointer events for its children, but not prevent key events for them.
Ideally, they should have more strict structure like this:
when the container is disabled:
its children are also disabled
when the child is disabled:
it doesn't affect to its parent
so...
disabled of the component = parent.disabled || its.disabled
I think that adding parentViewProps
field to ViewProps
might be a good idea.
Owner Name | cocopon |
Repo Name | tweakpane |
Full Name | cocopon/tweakpane |
Language | TypeScript |
Created Date | 2016-05-10 |
Updated Date | 2023-03-17 |
Star Count | 2603 |
Watcher Count | 19 |
Fork Count | 71 |
Issue Count | 11 |
Issue Title | Created Date | Updated Date |
---|