I found a bug where clicking the "Open link" doesn't work correctly during link creation.
Steps to reproduce bug:
Press / and add a link
Type example.com
Click Open link
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.
I found a bug where clicking the "Open link" doesn't work correctly during link creation.
Steps to reproduce bug:
onClickLink
is then called withhref=""
, whereas I expectedhref="example.com"
. Usingthis.state.value
instead ofthis.href
fixed the issue for me. That being said I have no idea wherethis.href
comes from or if/when/how it's modified. Maybe this was supposed to bethis.props.href
everywhere? Though it would still make sense to usethis.state.value
in that case to use the updated value.