question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

onChange, onEditorReady events not firing on Firefox with version 0.2.0

See original GitHub issue

After upgrading to 0.2.0, I get the following error from the component that uses Trix:

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of `TextAreaInput`.

I can’t tell what has changed in react-trix or trix itself that might trigger this error; the usage seems to correspond to the examples pretty closely:

https://github.com/WikiEducationFoundation/WikiEduDashboard/blob/30611248d982c1d9281c901b7b2b353314b930bd/app/assets/javascripts/components/common/text_area_input.jsx#L50

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dstpierrecommented, Apr 7, 2017

This is now fixed in 4028d89ee845e48c28e7eeab74d118c83f23ab05 a new NPM package was published 0.2.1.

Thank you for reporting this, highly appreciated.

0reactions
dstpierrecommented, Apr 6, 2017

That’s good, thank you very much for your patience. I will investigate Firefox (should have had done that frankly), lesson learned. I’ll keep you posted when I have the update ready.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The change event is not firing when bound to a input text field ...
Using FireFox 15.0.1: In the following code the "onChange" event does not fire with the tab key, but will fire when the mouse...
Read more >
onchange event on input type=range is not triggering in ...
The demo shows the range/slider value as well as the number of times the standard "change" , "input" and custom "onRangeChange" events have...
Read more >
Debugger for Firefox - Visual Studio Marketplace
A VS Code extension to debug web applications and extensions running in the Mozilla Firefox browser. Install from VS Code Marketplace.
Read more >
In Firefox Click Event Does Not Fire After On-change On Input ...
Oracle Application Express (APEX) - Version 4.2.3.00.08 and later: In Firefox Click Event Does Not Fire After On-change On Input Field.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found