-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Mixin js not loading when Switch Tab while loading site #14118
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
Comments
@sunilit42 Thanks for reporting . After add any file you if you are in developer mode you need to run Grunt again or if you are in production mode you need to below steps to reflect your code . rm -rf var/di var/generation var/cache var/pagecache |
@paragpadsumbiya js and css loading properly. It is mixin js issue. we are extending js functionality, that js does not load when we switch tab while page load. If you are not switching tab then works. |
Any update on this? |
@sunilit42 , thank you for your report. |
Hey, have you created mixins file? Open Multiple Tab into your browser. Hope it will help you find that problem. |
We noticed this behaviour also on Magento 2.2.0 and 2.2.2. (different sites) When you open a page in the background tab or reload a page in the background tab the javascript mixins will not get loaded. Steps to reproduce:
Attached a video clip: |
Hello @magento-engcom-team Have you checked @emil-tw video clip. Any update on this issue? |
Hi Team, I am also facing same kind of issue. Please share if you have any solution. Package: Magento ver. 2.0.8 Steps to re-reproduce the issue: Browser Tab : 1 - Adding product to cart from Product detail page (after product added to cart, the page redirect to cart page) Thanks. |
Any update on this? |
Hey @magento-admin any update on that? |
We have the same issue, would like an update asap! |
Hi @sunilit42 I'm not able to reproduce following steps you describe. the problem you are described maybe relevant to web browser, we are closing this issue, If you'd like to update it, please reopen the issue. |
Hello, @magento-engcom-team checkout page comes using ajax and ko so works Try to create one mixin for product page and try it |
@sunilit42 ok. |
let me know if you want sample module |
@sunilit42 Same result for custom module, Can you please provide your module ? |
just open url and switch to another tab |
@sunilit42 Can you reproduce this again ? or i can close issue ? |
@sunilit42 we are closing this issue. If you'd like to update it, please reopen the issue. |
Same issue. Preconditions;
Steps to reproduce :
The JS :
3: Open a category page with a product Configurable. |
I faced with the same issue on magento 2.3.3 using production mode. |
Having same issue 2.3.5 with mixins set-shipping-information just followed this tutorial from magento docs. ref:https://devdocs.magento.com/guides/v2.3/howdoi/checkout/checkout_new_field.html I can see the mixin file added to requirejs-config.js file and I can open in the browser but the mixin file doesn't load in the checkout page.
UPDATE: Not sure if is browser issue but after open incognito the can see it loaded the mixin then just went back to default browser mode and it now loaded, so just in case anyone having same issue give it try. |
Same issue in Magento 2.3.4-p2 |
Preconditions
Steps to reproduce
Expected result
It should be load all mixins js file.
Actual result
It is not loading mixins js
For example we are creating mixins for
catalog-add-to-cart-mixins.js code
The text was updated successfully, but these errors were encountered: