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

Styles not updating correctly since 1.7.7 #3796

Closed
mlev opened this issue Mar 23, 2017 · 2 comments
Closed

Styles not updating correctly since 1.7.7 #3796

mlev opened this issue Mar 23, 2017 · 2 comments

Comments

@mlev
Copy link

mlev commented Mar 23, 2017

I've started to get some weird text style behaviour since 1.7.7. This can be reproduced in Kitchen Sink Demo.

  • Some styles are retained when you select and type over text
  • Applying styles like bold/italic apply to an entire text block rather than the selected character

See video below for a demo.

Version

1.7.7+

Steps to reproduce

fabric_styles

@asturur
Copy link
Member

asturur commented Mar 23, 2017

can you describe better the input sequence?

@mlev
Copy link
Author

mlev commented Mar 23, 2017

Here are the steps to reproduce:

  • Select all of the text in the textbox shown from Kitchen sink demo
  • Type over the selection entering multiple lines (Problem 1: Lines 2 and 3 are blue)
  • Select one letter of the second line and apply Bold styling (Problem 2: Bold is applied to all of lines 2 & 3 not just the selected character.
  • Enter a new line between 2 and 3. Select a character and remove bold style. (Problem 3: Bold removed from entire line)

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

No branches or pull requests

2 participants