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

Don't show the placeholder when composing #4352

Merged
merged 1 commit into from
Aug 5, 2021
Merged

Don't show the placeholder when composing #4352

merged 1 commit into from
Aug 5, 2021

Conversation

hueyhe
Copy link
Contributor

@hueyhe hueyhe commented Jun 27, 2021

Description
Don't show the placeholder when composing.

Issue
I found a related issue #4306 but it's closed. I think this issue should be handled inside the editable component because hiding placeholder when composing is an expected behavior.

Example
Old behavior:

old.behavior.mov

New behavior:

new.behavior.mov

Checks

  • The new code matches the existing patterns and styles.
  • The tests pass with yarn test.
  • The linter passes with yarn lint. (Fix errors with yarn fix.)
  • The relevant examples still work. (Run examples with yarn start.)
  • You've added a changeset if changing functionality. (Add one with yarn changeset add.)

@changeset-bot
Copy link

changeset-bot bot commented Jun 27, 2021

🦋 Changeset detected

Latest commit: 359746d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
slate-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@7sharp9
Copy link

7sharp9 commented Jun 28, 2021

Is this also addressing what's fixed in: #4246

@hueyhe
Copy link
Contributor Author

hueyhe commented Jun 28, 2021

Is this also addressing what's fixed in: #4246

I didn't notice the cursor suspension issue before. From the screen recording, I assume that it's also fixed.

@dylans dylans merged commit 4b373dc into ianstormtaylor:main Aug 5, 2021
@hueyhe hueyhe deleted the fix/composing-on-placeholder branch August 6, 2021 00:11
dylans pushed a commit to dylans/slate that referenced this pull request Sep 13, 2021
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

Successfully merging this pull request may close these issues.

3 participants