lumetrium / obsidian-teleprompter

Plugin for Obsidian designed to seamlessly integrate teleprompter functionality into your note-taking workflow.
https://lumetrium.com
GNU General Public License v3.0
54 stars 4 forks source link

Text glitches when scrolling up while playing on an iPad #16

Open niosus opened 6 months ago

niosus commented 6 months ago

First of all thanks so much for all the work you put into this plugin, it is fantastic!

It seems that I've found a bug of sorts when using it on my iPad. When the teleprompter is active and I scroll up without stopping it, after some time the text that comes below starts to glitch. It is a bit hard to properly explain, so I'm attaching a video too.

In this video, I start the prompter, then scroll up with my finger while it plays, then let it continue playing. You can see that some text does not appear at first and then suddenly appears. At the end, I touch the screen at which time the text always appears.

https://github.com/lumetrium/obsidian-teleprompter/assets/1893598/b5d596c7-00fa-434d-8578-4b3bd775e602

The issue does not seem to happen if I first stop the teleprompter and then scroll.

lumetrium commented 6 months ago

Thanks for attaching the video, it really helps in understanding the issue!

Unfortunately, I don't own an iPad and don't have access to one, so I'm not sure how to handle this. I do agree that it looks like a bug, so I'll label it as such and keep the issue open for now.

I've tested this on my Android tablet and couldn't reproduce the problem. It seems likely that the root cause might be in the Obsidian app or something specific to Apple's platform. Still, there could exist potential workarounds, like making some adjustments in the Teleprompter's code to circumvent the issue.

If anyone with an iPad (or possibly an iPhone, if the issue occurs there too) who is familiar with TypeScript and Vue is interested in contributing to this project, your PRs are very welcome. Beyond that, there's not much I can do without an actual device.

niosus commented 6 months ago

Thanks for a quick reply! I was worried that it might a bit hard to catch and fix and unfortunately, I'm not a TypeScript expert. But still, this is not a deal breaker, just wanted to make you aware of this and maybe somebody will be able to contribute. 🙏