Window.getComputedStyle does not implement interface Element error in Firefox

Steve Macculan

I'd like to append some data to the HTML element, so I've used the following code:

$("#bookListDiv").append(data.HTMLString);

and everything has working, but then I'd like to add a fadein animation while displaying this element, so I've modified it to:

$(data.HTMLString).hide().appendTo("#bookListDiv").fadeIn(1000);

Animation is working on Chrome but on Firefox I see the following error in console: TypeError: Argument 1 of Window.getComputedStyle does not implement interface Element. I'm using jquery 1.8.2.

Could you advise me what can be wrong? I supposed something with data, but in the first approach everything is working correctly.

Steve Macculan

I've found the solution by adding the delay before fadeIn function. Code after changes:

$(data.HTMLString).hide().appendTo("#bookListDiv").delay(100).fadeIn(1000);

As I've noticed the number in delay is should be adjusted to the size of data, in my case for 7KB json data it is working, but I've started from 1000.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Polymer and Disqus on Firefox: Argument 1 of Window.getComputedStyle does not implement interface Element

From Dev

TypeError: Argument 1 of Window.getDefaultComputedStyle does not implement interface Element

From Dev

TypeError: Argument 1 of Window.getDefaultComputedStyle does not implement interface Element

From Dev

Error: Does not implement interface member

From Dev

Error: Does not implement interface member

From Dev

Visitor Pattern "does not implement interface" error

From Dev

Error 1: does not implement interface member

From Dev

"Class does not implement interface member" error on class implementing a generic interface

From Dev

Javascript - window.getComputedStyle returns "auto" as element top and left properties

From Dev

Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'

From Dev

Error 'open' called on an object that does not implement interface XMLHttpRequest

From Dev

Xamarin jar binding error: Class does not implement interface member

From Dev

Meteor angularjs "Node.replaceChild does not implement interface Node" error

From Dev

The "does not implement interface member" error when using inheritance

From Dev

getComputedStyle() and cssText in IE and Firefox

From Dev

Firefox getComputedStyle returns "auto"

From Java

Dropbox Upload Javascript : TypeError: "'fetch' called on an object that does not implement interface Window."

From Dev

Does not implement interface member issues

From Dev

Class does not implement interface member

From Dev

IEnumerator does not implement interface IEnumerable

From Dev

Does not implement interface member MVC

From Dev

Bootstrap5 Modal Uncaught TypeError: 'querySelector' called on an object that does not implement interface Element

From Dev

Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element' - Angular / Ionic kendo-chart

From Dev

Cordova + Android Studio Error:'com.android.build.gradle.BasePlugin' does not implement the Plugin interface

From Dev

Error when upgrading to WebAPI 2.1 XmlDocumentationProvider does not implement interface member GetDocumentation

From Dev

Interface/Struct "Does not implement X, Wrong type or Method, not sure why I am getting this error

From Dev

Angular error: Node.replaceChild does not implement interface Node.replaceWith

From Dev

Cordova + Android Studio Error:'com.android.build.gradle.BasePlugin' does not implement the Plugin interface

From Dev

getComputedStyle from the `before` pseudo element

Related Related

  1. 1

    Polymer and Disqus on Firefox: Argument 1 of Window.getComputedStyle does not implement interface Element

  2. 2

    TypeError: Argument 1 of Window.getDefaultComputedStyle does not implement interface Element

  3. 3

    TypeError: Argument 1 of Window.getDefaultComputedStyle does not implement interface Element

  4. 4

    Error: Does not implement interface member

  5. 5

    Error: Does not implement interface member

  6. 6

    Visitor Pattern "does not implement interface" error

  7. 7

    Error 1: does not implement interface member

  8. 8

    "Class does not implement interface member" error on class implementing a generic interface

  9. 9

    Javascript - window.getComputedStyle returns "auto" as element top and left properties

  10. 10

    Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'

  11. 11

    Error 'open' called on an object that does not implement interface XMLHttpRequest

  12. 12

    Xamarin jar binding error: Class does not implement interface member

  13. 13

    Meteor angularjs "Node.replaceChild does not implement interface Node" error

  14. 14

    The "does not implement interface member" error when using inheritance

  15. 15

    getComputedStyle() and cssText in IE and Firefox

  16. 16

    Firefox getComputedStyle returns "auto"

  17. 17

    Dropbox Upload Javascript : TypeError: "'fetch' called on an object that does not implement interface Window."

  18. 18

    Does not implement interface member issues

  19. 19

    Class does not implement interface member

  20. 20

    IEnumerator does not implement interface IEnumerable

  21. 21

    Does not implement interface member MVC

  22. 22

    Bootstrap5 Modal Uncaught TypeError: 'querySelector' called on an object that does not implement interface Element

  23. 23

    Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element' - Angular / Ionic kendo-chart

  24. 24

    Cordova + Android Studio Error:'com.android.build.gradle.BasePlugin' does not implement the Plugin interface

  25. 25

    Error when upgrading to WebAPI 2.1 XmlDocumentationProvider does not implement interface member GetDocumentation

  26. 26

    Interface/Struct "Does not implement X, Wrong type or Method, not sure why I am getting this error

  27. 27

    Angular error: Node.replaceChild does not implement interface Node.replaceWith

  28. 28

    Cordova + Android Studio Error:'com.android.build.gradle.BasePlugin' does not implement the Plugin interface

  29. 29

    getComputedStyle from the `before` pseudo element

HotTag

Archive