Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] website_slides: load animations after slide loaded
Issue: When using the Fullscreen mode of slides for articles we do run first the website animations before loading the slide, which will make the content to stay invisible since we will never actually perform the animation. Steps to reproduce: 1. Create a new course with an article content. 2. Add any block (text, image). 3. Add an animation to this piece of block. 4. Go to Fullscreen mode. Solution: We manually instantiate and attach the WebsiteAnimate widget to the wpContainer element to ensure animations are properly initialized and applied after the slide has loaded, after that we get rid of this instance after every new slide that load so we avoid having multiple instances. opw-3757919 closes odoo#159032 X-original-commit: f9f53e3 Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
- Loading branch information