Closed luiisca closed 5 hours ago
sticker popover is a singleton, so it carries the data it was initially instantiated with on every call to open()
, effectively making sticker popover point to the same file no matter which file it was opened for.
Popover.create({
id: STICKER_POPOVER_ID,
view: {
Component: StickerPopoverComponent,
props: {
fileData
}
},
}).open(this.refHtmlEl)
GIT-456 selecting a sticker would sometimes add it to the wrong file