ITADN

Day planner view cut off at a bit after 3pm

#851OpenErikaRS 创建于 2026-05-17
bug
E
ErikaRScommented
### Please check that this issue hasn't been reported before. - [x] I searched previous [Bug Reports](https://github.com/ivan-lednev/obsidian-day-planner/issues?q=is%3Aissue+is%3Aopen) didn't find any similar reports. ### Expected Behavior My timeline view should show the whole day. ### Current behaviour <img width="324" height="529" alt="Image" src="https://github.com/user-attachments/assets/48b85eb6-4588-4277-bf72-7d59d9d5a06c" /> <img width="589" height="607" alt="Image" src="https://github.com/user-attachments/assets/bfffff5c-38bf-4a8c-833c-daa6d9c51769" /> As the screenshots above show, in both the single and multi-day view, the timeline view is cutting off a bit after 3pm. I've tried toggling any setting that might be related but it continues to show as in the screenshot. In particular, the timestamp shows that the example purple task should go until 5pm. ### Steps to reproduce Add a task that starts before 3pm and ends after 4pm. It will be truncated. ### Which Operating Systems are you using? - [ ] Android - [ ] iPhone/iPad - [ ] Linux - [x] macOS - [ ] Windows ### Obsidian Version 1.12.7 ### Possible solution Not a solution, but inspecting the element in the dev console: - Right height: document.querySelector("body > div.app-container > div.horizontal-main-container > div > div.workspace-split.mod-vertical.mod-root > div > div:nth-child(3) > div.workspace-tabs.vt-default-view.mod-active > div.workspace-tab-container > div > div > div.view-content.planner-flex-container > div.tree-container.svelte-an8gmx > **div.scroller.planner-timeline-scroller.planner-flex-scrollable.svelte-2iup3p**") - Right height (well, technically overflows but is hidden, but it works): document.querySelector("body > div.app-container > div.horizontal-main-container > div > div.workspace-split.mod-vertical.mod-root > div > div:nth-child(3) > div.workspace-tabs.vt-default-view.mod-active > div.workspace-tab-container > div > div > div.view-content.planner-flex-container > div.tree-container.svelte-an8gmx > **div.scroller.planner-timeline-scroller.planner-flex-scrollable.svelte-2iup3p > div.hours-container.svelte-1nw75x3**") - Too short: document.querySelector("body > div.app-container > div.horizontal-main-container > div > div.workspace-split.mod-vertical.mod-root > div > div:nth-child(3) > div.workspace-tabs.vt-default-view.mod-active > div.workspace-tab-container > div > div > div.view-content.planner-flex-container > div.tree-container.svelte-an8gmx > div.scroller.planner-timeline-scroller.planner-flex-scrollable.svelte-2iup3p > **div.hours-container.svelte-1nw75x3**") - Manually adding more hour blocks seems to fix it: document.querySelector("body > div.app-container > div.horizontal-main-container > div > div.workspace-split.mod-vertical.mod-root > div > div:nth-child(3) > div.workspace-tabs.vt-default-view.mod-active > div.workspace-tab-container > div > div > div.view-content.planner-flex-container > div.tree-container.svelte-an8gmx > div.scroller.planner-timeline-scroller.planner-flex-scrollable.svelte-2iup3p > div:nth-child(2) > div:nth-child(21)") So... maybe the issue is something to do with the computation of the number of hour blocks to add? <img width="475" height="613" alt="Image" src="https://github.com/user-attachments/assets/fae76da1-3f87-4480-846d-24997f4e9df4" />
0 条评论