[Bug] Cannot click at cursor
Closed this issue · 8 comments
Describe the bug
Cursor does not spawn at clicked location in Live Preview mode
Expected behavior
Cursor should be spawned at clicked location in Live Preview mode. I did try the same with default theme and AnuPpuccin theme, and it works just fine.
To Reproduce
Follow the layout in source mode below
Screenshots
Video showing the bug
https://github.com/SlRvb/Obsidian--ITS-Theme/assets/98799613/3583e44b-bb46-46df-8e46-96aad5ea6035
OS
Where does the bug occur?
- Desktop
- Mobile
Versions
- Obsidian Version: v1.5.3
- ITS Theme Version: 1.2.26
Hmmm, I can't seem to recreate this. If you disable style settings and reload, does that fix the cursor issue?
I did try to disable style settings but it doesn't work.
I think I know the issue. Allow me to demonstrate. Basically I use CSS that conflict with ITS theme and that's why the cursor does not appear at the clicked point. However, AnuPpuccin theme and default theme seem to work fine, except sticky note css I just installed recently.
2024-01-23_15.13.29_CSX.mp4
Hmmm any chance I could get that css file to test and see what's wrong?
Yeah sure. Dropdown & Sticky Notes CSS.zip
Sources
- Dropdown forum: https://forum.obsidian.md/t/want-a-multi-level-dropdown-menu-inside-your-notes-you-can-i-built-one/40501
- Sticky Notes github: https://github.com/dhniceday/obsidian-sticky-notes
CSS examples
Dropdown
> [!menu]
> - Column 1
> - Content 1.1
> - Content 1.2
> - Column 2
> - Content 2.1
> - Content 2.2
Sticky Notes
> [!sticky|green center]
> green center
Hmm if you remove the line at 139 for the Dropdown snippet does that fix it?
Yes, it does enable to click on the heading but not the line below the heading. As you can see in the video below, I first demonstrated on ITS theme then changed to AnuPpuccin theme.
2024-02-01_01.19.28_CSX.mp4
Just to check, what version of ITS are you on?
Oh yes, my back. I just updated to the lastest ITS version and it works nice! Thank you :)