J
J
jamtuson2020-12-27 15:04:01
JavaScript
jamtuson, 2020-12-27 15:04:01

Why is setTimeout not working in safari?

View construction: does not work in safari. There are no errors, but he skips the delay, as if there is no setTimeout. How to fix?
setTimeout(this.init.bind(this), 0);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alekssamos, 2020-12-27
@alekssamos

And if so?setTimeout(this.init.bind, 1, this);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question