Bug: Portfolio Mobile Video Tap Not Working

2 replies · opened Nov 2, 2020

RRonNov 2, 2020

When the following page is viewed on a mobile device, tapping the video images does not trigger the hyperlink to load the video.

Link: http://justshare.ronkh.com/portfolio

The code was taken from the Portfolio page example.

When viewing on desktop dev tools using Chrome, and setting the viewport to emulate an iOS device, tapping (clicking) the image takes me to the youtube link. Performing the same action on an actual mobile device results in the tap not working.

The only custom adjustment I have applied is the code you recommended in my other ticket here:

http://support.semicolonweb.com/forums/topic/ios-double-tap-bug/

Any advise?

SSemicolon WebSTAFFNov 3, 2020

Hello,

This is due to the .bg-overlay DIV added to the Portfolio Item. Since you are not using the Hover Animation anymore on Mobile Devices, you will also need to hide it using the Bootstrap Display Utility Classes: https://getbootstrap.com/docs/4.5/utilities/display/ . Simply use the .d-none and .d-md-block Class on the .bg-overlay DIV and this issue should be resolved.

Or, you can also use the following CSS Code to target only Touch Devices:

.device-touch .portfolio-item .bg-overlay {
	display: none;
}

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

RRonNov 3, 2020

This worked, thank you so much.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard