Inconsistent Toggle Icon

Describe the bug

The toggle icon is not changed when the toggle is toggled ( :laughing: ). The icon stays in its last state irrespective of the toggle being opened or not

To Reproduce

Steps to reproduce the behavior:

    1. Go to a page with a toggle
    1. Place the cursor in the same line as that of the toggle
    1. Toggle the toggle block

Expected behavior

The toggle icon should update when corresponding to thr state of the toggle. i.e, downward arrow when the toggle is open and rightward arrow when it is closed

System Information:

  • OS: Android 11
  • Device Manufacturer/Model: OnePlus 5T
  • Anytype Version: 0.3.1

Additional context

The issue does not happen when the cursor is in a different line as that of toggle

The toggle is opened but the icon stays in the not opened state

The toggle is closed but the icon stays in the opened state

4 Likes

Yes, I can reproduce it. They are inconsistent. Basically there is No Visual Feedback when the cursor is on toggle.

3 Likes

I’ve had the same issue multiple times but can’t seem to reproduce it volontarily.

Reproducible on Anytype for Android 0.6.1: toggle icon shows expanded state, while the content of the toggle block is not visible.

image

Thanks everyone for reporting. The fix will be shipped in the next update β€” 0.6.2

5 Likes