Open palsingh opened 9 years ago
The problem is that setValues is called after buildDom_ in the constructor. Reversing the order doesn't work either, because it fires change callbacks for properties where the DOM is expected to already exist.
Adding:
this.set('closeSrc', options['closeSrc']);
before the buildDom_ call in the ctor gets rid of the problem, but it seems a bit hacky.
This is reproducible on Firefox 52.0.2 (latest) also and sometimes is responsible for crashing our sessions. Are there any plans to fix it?
In IE11, this.get('closeSrc') initiates a request to /undefined. Setting it in config while creating new instance of infobubble doesn't make any difference.