AJamesPhillips / DataCurator

DataCurator enables you to map and understand complex systems before helping you plan, communicate and navigate successful interventions in them.
https://DataCurator.org
8 stars 1 forks source link

Values and Predictions form input elements overlapping #145

Closed AJamesPhillips closed 3 years ago

AJamesPhillips commented 3 years ago

image

If we could change the <EditableNumber /> and <EditablePercentage /> component code so that they respect each other this would be the best outcome. I fear though we will have to use material-ui components within the parent <ValueAndPredictions /> component that contains the <EditableNumber /> and <EditablePercentage /> components to get them to render nicely with each other. If this is the case we should see if there is any way of using the UI library that results in fewer and less leaky abstractions. i.e. it should be possible to use a <EditableNumber /> and <EditablePercentage /> components anywhere without having to embed them within some special html / CSS environment. i.e. these components should come pre-wrapped in that environment already that prevents them from leaking into their parent environment / visa versa.