kakawait / hugo-tranquilpeak-theme

A gorgeous responsive theme for Hugo blog framework
https://tranquilpeak.kakawait.com
GNU General Public License v3.0
926 stars 525 forks source link

Sidebar : swipe behaviour on iOS and MacOS Safari overlay incorrectly remains present #342

Closed d3vAdv3ntur3s closed 3 years ago

d3vAdv3ntur3s commented 5 years ago

Configuration

Actual behavior

Refer to Gif above On mobile view whilst on safari when the menu is opened, a swipe left on Safari will allow the menu content to remain

Expected behavior

On swipe the menu should disappear the same way clicking elsewhere or the mobile menu icon

Steps to reproduce the behavior

Launch iOS or MacOS Safari (Window size will need to go to mobile view) Goto: https://tranquilpeak.kakawait.com Open the menu Then swipe menu to the left

kakawait commented 5 years ago

@raztiff, in fact swipe is not really a swipe is was a bug introduced before.

I say is not really a swipe because is not interacting with swipe event, is was just page width + overflow issue that allow you to scroll horizontally and give you impression that you're swipping.

In first time I'll fix that issue by fixing that scrolling (aka fake swipe) issue

d3vAdv3ntur3s commented 5 years ago

Thanks for looking into the issue :)