Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spaces causing temporary line break #376

Open
Theeoi opened this issue Feb 7, 2024 · 0 comments
Open

Spaces causing temporary line break #376

Theeoi opened this issue Feb 7, 2024 · 0 comments

Comments

@Theeoi
Copy link

Theeoi commented Feb 7, 2024

I've been seeing a bug on mobile where the cursor is creating a new line while typing a one-liner. In my case it happens when a space is to be typed. The cursor quickly jumps back up again afterwards to type the next word. I managed to capture the bug in the image attached at the bottom.

I can not recreate the effect on desktop so I'm having difficulties troubleshooting myself and thought I would ask here. Any help is very appreciated :)

I'm using a simple setup like this:

<!-- The element of concern -->
<h1 id="typeit">Theodor Blom</h1>

...

<!-- Script imported at the bottom of the html -->
<script src="https://unpkg.com/[email protected]/dist/index.umd.js"></script>
<script>
  new TypeIt("#typeit", {
    speed: 250,
    lifeLike: true,
    waitUntilVisible: true,
  }).go();
</script>

img

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant