File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/feedback/src/core Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -251,10 +251,11 @@ export const buildFeedbackIntegration = ({
251251 } ;
252252
253253 const _createActor = ( optionOverrides : OverrideFeedbackConfiguration = { } ) : ActorComponent => {
254- const shadow = _createShadow ( _options ) ;
255- const actor = Actor ( { triggerLabel : _options . triggerLabel , shadow } ) ;
256- const mergedOptions = mergeOptions ( _options , {
257- ...optionOverrides ,
254+ const mergedOptions = mergeOptions ( _options , optionOverrides ) ;
255+ const shadow = _createShadow ( mergedOptions ) ;
256+ const actor = Actor ( { triggerLabel : mergedOptions . triggerLabel , shadow } ) ;
257+ _attachTo ( actor . el , {
258+ ...mergedOptions ,
258259 onFormOpen ( ) {
259260 actor . hide ( ) ;
260261 } ,
@@ -265,7 +266,6 @@ export const buildFeedbackIntegration = ({
265266 actor . show ( ) ;
266267 } ,
267268 } ) ;
268- _attachTo ( actor . el , mergedOptions ) ;
269269 return actor ;
270270 } ;
271271
You can’t perform that action at this time.
0 commit comments