Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Window.getComputedStyle: Argument 1 is not an object. #390

Open
Harwinderkheri opened this issue Nov 15, 2023 · 0 comments
Open

Comments

@Harwinderkheri
Copy link

Harwinderkheri commented Nov 15, 2023

When keen slider (for angular project) is initialize in firefox (version 119) in iframe, below error occurs:
TypeError: Window.getComputedStyle: Argument 1 is not an object.
m keen-slider.es.js:1
b keen-slider.es.js:1
y keen-slider.es.js:1
k keen-slider.es.js:1
y keen-slider.es.js:1
y keen-slider.es.js:1
y keen-slider.es.js:1
ngAfterViewInit Slider.component.ts:51
Angular 21
ngAfterViewInit Slider.component.ts:49
Angular 63
RxJS 6
Angular 20
ngAfterViewInit MobileView.component.ts:26
Angular 9
keen-slider.es.js:1:14381

Initialize:
this.slider = new KeenSlider(this.sliderRef.nativeElement, {});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant