alan-turing-institute / AssurancePlatform

Project to facilitate creation of Assurance Cases
MIT License
22 stars 6 forks source link

[Bug]: Resources popup should only be activated on click event #449

Closed kallewesterling closed 3 months ago

kallewesterling commented 4 months ago

When using the "Resources" feature in the case editor, the default behaviour (hovering) works, but when clicking the "Resources" button, the behaviour gets strange (the button looks active even when hovering elsewhere, or again, over the button). (Contact me for a video of it.)

Solution: the resources popup might only be activated on clicking, rather than hovering. (That would be the expected behaviour for a button.)

image

RichGriff commented 3 months ago

Fix: This is just a styling fix that was being triggered when the components open state was being triggered. I have removed this styling in the ui component, as we dont need this behaviour.

https://github.com/alan-turing-institute/AssurancePlatform/commit/8c394ec2aad3cd79d511b440d61101c6f66e7347