Altinn / Altinn/altinn-studio-docs
Pictures in altinn studio cant be closed (must step back)
- Dominant language
- CSS
- Stars
- 15
- Forks
- 58
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 53
Description
### Description of the bug
When a picture is opened in altinn studio for example https://docs.altinn.studio/nb/app/app-dev-course/modul1/ if you click on the picture for the example solution. You open the picture in a bigger format. one would expect to be able to close the picture by eiteher pressing escape or by clicking the modalcover, a closebutton or backspace but only the stepbackbutton works.
### Steps To Reproduce
1. Go to https://docs.altinn.studio/nb/app/app-dev-course/modul1/,
2. Open the picture in the solution of the assignment
3. Try to close it either with clicking modalpage-cover, escape or backspace.
### Additional Information
_No response_
Contributor guide
Research direction
Start by opening the linked App development course page and reproducing the image modal behavior from the solution example. Trace the page's modal implementation and verify that clicking the modal cover, pressing Escape, and pressing Backspace all close the picture, in addition to the existing step-back control.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100