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

Text field on change, shrinks, breaks text completely​ #6975

Closed
1 task done
chief-nerd opened this issue Apr 29, 2024 · 2 comments · Fixed by #6991
Closed
1 task done

Text field on change, shrinks, breaks text completely​ #6975

chief-nerd opened this issue Apr 29, 2024 · 2 comments · Fixed by #6991
Assignees
Labels
mod:rich-text Module: related to rich-text editing (including Virgo) type:bug Something isn't working

Comments

@chief-nerd
Copy link

What happened?

If you type, resize, change, click a text field in ANY way the size of the field shrinks.
... until the text breaks, until the width of the text field is 1 character wide (which makes it unusable!)

It does only happen to Text fields where you manually changes the size.
So to replicate:

  • Create a Text (T)
  • Write some Text
  • Change the size of the widget (make it wider)
  • Click back in the Widget
  • Edit/click/type ==> Widget shrinks (!)

Distribution version

Web (app.affine.pro)

What browsers are you seeing the problem on if you're using web version?

Chrome, Microsoft Edge, Firefox, Safari

Are you self-hosting?

  • Yes

Relevant log output

<no logs>

Anything else?

No response

@EYHN EYHN transferred this issue from toeverything/AFFiNE May 7, 2024
@toeverything toeverything deleted a comment from affine-issue-bot bot May 7, 2024
@EYHN
Copy link
Member

EYHN commented May 7, 2024

Can be reproduced here

@doodlewind doodlewind added type:bug Something isn't working mod:rich-text Module: related to rich-text editing (including Virgo) labels May 7, 2024
@Flrande
Copy link
Member

Flrande commented May 8, 2024

This phenomenon seems to be reproducible only in the environment of AFFiNE, not in BlockSuite Playground. I will continue to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod:rich-text Module: related to rich-text editing (including Virgo) type:bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants