hochschule-darmstadt / openartbrowser

Exploring the world of arts using open data
http://openartbrowser.org/
MIT License
40 stars 10 forks source link

Handle switch from desktop to mobile and the other way around on artwork page #575

Open DPhuongHda opened 3 years ago

DPhuongHda commented 3 years ago

Reason (Why?)

Currently if you switch from desktop to mobile view (window resize) all eight images of the slide are still shown. Obviously the mobile-common-tags feature doesn't work correctly in this case, since it only makes sense if one image per slide is shown. To fix this view you would have to reload the website to only display one image.

On the other hand if you switch from mobile to desktop view (happens rarely on mobile but maybe some people do this) since only one picture is displayed per slide on mobile the same applies to the desktop view. Again - only reload of the page renders the carousel-slides correctly again.

resize

Solution (What?)

Acceptance criteria