xeno_hero
xeno_hero copied to clipboard
Fix for Background position update in Drupal 8
@albertski Can you review?
I tested the new patch and it works. The problem is that I can't get it to fail with the current version.
@mugetsu What browser did you see this issue on? Any recommendation on replicating this issue?
@albertski chrome but with bootstrap_paragraphs 8.x-2.0-alpha7 module enabled
Hmm, do you have anything custom set up or just default setup?
I'm trying to figure out why this doesn't work for you:
$backgroundObj.css({ backgroundPosition: coords });
But this does work:
$('.paragraph--type--xeno-hero__image', container).css({ backgroundPosition: coords });
Are you getting a javascript error?
What version of Jquery are you using?