Skip to content

Commit

Permalink
fix(mac-s-g#347): change inputRef to ref to prevent runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
enricomad committed Aug 27, 2021
1 parent 2feadce commit 1f961e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion src/js/components/VariableEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class VariableEditor extends React.PureComponent {
<div>
<AutosizeTextarea
type="text"
inputRef={input => input && input.focus()}
ref={input => input && input.focus()}
value={editValue}
class="variable-editor"
onChange={event => {
Expand Down

3 comments on commit 1f961e9

@ezimon
Copy link

@ezimon ezimon commented on 1f961e9 Jan 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the error is driving me crazy i need this fix asap

@enricomad
Copy link
Owner Author

@enricomad enricomad commented on 1f961e9 Jan 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the error is driving me crazy i need this fix asap

hallo ezimon,
sorry to hear that.
i guess the owner stopped maintaining the repo (at least since March '21)
i tried writing to him but that also does not seem to help.
here's the link of the open issue and the pr if you want to try to upvote

@enricomad
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should start thinking about a diverging fork

Please sign in to comment.