No Code Attached Yet Frontend Template bug
avatar werefkin
werefkin
14 May 2023

Steps to reproduce the issue

Open https://cassiopeia.joomla.com from a mobile phone (not an issue in the developer mode) and have a close look at the banner

Expected result

smooth operation

Actual result

there is a step when the image changes its scale
screen shot 2023-05-14 at 13 14 24
screen shot 2023-05-14 at 13 14 29

System information (as much as possible)

Android, different browsers

Additional comments

The issue cannot be accessed in developer mode simulating the smartphone screen

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar werefkin werefkin - open - 14 May 2023
avatar werefkin werefkin - change - 14 May 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 14 May 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 May 2023
avatar chmst chmst - change - 14 May 2023
Labels Added: ?
avatar chmst chmst - labeled - 14 May 2023
avatar werefkin
werefkin - comment - 15 May 2023

the issue is not present in the mobile Firefox browser


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40591.

avatar nawarajshah
nawarajshah - comment - 24 May 2023

did not understand your issue, can you elaborate more

avatar werefkin
werefkin - comment - 26 May 2023

did not understand your issue, can you elaborate more

the background image of the default banner is set with background-size: cover;
This works fine for the PC (also in the developer mode emulating mobile resolutions), however, there is an apparent rendering issue in mobile devices (check on several Android smartphones, on IOS the issue is different). I guess it is also related to background-attachment: fixed;.

The background image changes its size/scale while scrolling. On the screenshots above note the background image -- it is bigger in the 2nd screenshot. The changes are stepped and abrupt.

The issue can be observed on the Cassiopeia demo website. The banner is rendered with no problem with the Firefox browser. my quick fix was to use a different style for mobile browsers except Firefox using media query, although it of course removes the parallax effect:
@media (max-width: 576px) { @supports not (-moz-appearance: none) { /* Styles for all mobile browsers except Mozilla */ .container-banner .banner-overlay { height: 50vh !important; background-attachment: scroll; } } }

it has been also discussed here ~1 year ago: https://forum.joomla.org/viewtopic.php?t=993980

avatar werefkin
werefkin - comment - 26 May 2023

did not understand your issue, can you elaborate more
here is a video
Screen_Recording_20230526_134923_Chrome.webm

avatar Hackwar Hackwar - change - 24 Aug 2023
Labels Added: Frontend Template bug
Removed: ?
avatar Hackwar Hackwar - labeled - 24 Aug 2023

Add a Comment

Login with GitHub to post a comment