Anatole: Theme switching does not seem to work on mobile

Created on 29 Jan 2021  路  3Comments  路  Source: lxndrblz/anatole

This does not bother me too much because I intend on removing the theme switcher and locking in the light theme but I noticed that my site on mobile when switched only switches the drop-down menu.

Steps to reproduce the behavior:

  1. Go to https://themes.gohugo.io/theme/anatole/ on Firefox mobile
  2. Click on the dropdown menu
  3. Switch the theme
  4. Your result should be similar to what I am seeing in the screenshot.

drawing

bug

All 3 comments

@shariq1989 Thank you for reporting the issue. I couldn't fully reproduce the bug, but noticed a slightly different glitch. When I click on the text/icon on FF it would switch, but not if I click besides it (on the blank space around). Is that the same for you or does it not switch at all?

It won't switch if clicked beside, only when the icon is clicked. And it only ever switches the drop-down menu. The issue I brought up is only happening on my mobile browser FF, nowhere else. Working fine in mobile Chrome as well.

It seems like it is moreso the dark mode on my phone that was forcing the issue. Once I turned that off, the site started functioning as expected.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tangxuemei1995 picture tangxuemei1995  路  4Comments

PiotrWachulec picture PiotrWachulec  路  6Comments

isa-chavarria picture isa-chavarria  路  5Comments

Corfucinas picture Corfucinas  路  5Comments

cwpearson picture cwpearson  路  5Comments