Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Conversation

amazingmarvin
Copy link

I found a bug where clicking the "Open link" doesn't work correctly during link creation.

Steps to reproduce bug:

  1. Press / and add a link
  2. Type example.com
  3. Click Open link

image

onClickLink is then called with href="", whereas I expected href="example.com". Using this.state.value instead of this.href fixed the issue for me. That being said I have no idea where this.href comes from or if/when/how it's modified. Maybe this was supposed to be this.props.href everywhere? Though it would still make sense to use this.state.value in that case to use the updated value.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants