Closed ivarni closed 1 month ago
https://jokul.fremtind.no/preview/3891-File-with-path/ Commit: 0ab6ca1d9ab44ac83814352932bcb91ebab3db6f
Forhåndsvisning:Forhåndsvisningen blir tilgjengelig innen et par minutter. Den fjernes automatisk når pull requesten lukkes.
First make sure that the layout remains correct when a File has the path prop set. Secondly, change the DOM structure so that the close icon that is present when onRemove prop is set can be interacted with. This means that now only the filename itself becomes a click target when the file has a path to avoid having nested interactive elements.
ISSUES CLOSED: #3891
🎯 Sjekkliste
pnpm build
ogpnpm ci:test
gir ingen feil