File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ const Popup = ({
109109 data-bs-dismiss = "modal"
110110 aria-label = { closeBtnLabel }
111111 onClick = { hidePopup }
112+ title = { closeBtnLabel }
113+ data-tooltip-container-selector = { '.c-popup' }
112114 >
113115 < Icon name = "discard" extraClasses = "ibexa-icon--small" />
114116 </ button >
@@ -138,7 +140,10 @@ const Popup = ({
138140 : title && (
139141 < >
140142 < div className = "modal-header c-popup__header" >
141- < h3 className = "modal-title c-popup__headline" title = { showTooltip ? title : null } >
143+ < h3
144+ className = "modal-title c-popup__headline"
145+ { ...( showTooltip ? { title, 'data-tooltip-container-selector' : '.c-popup' } : { } ) }
146+ >
142147 < span className = "c-popup__title" > { title } </ span >
143148 { subtitle && < span className = "c-popup__subtitle" > { subtitle } </ span > }
144149 </ h3 >
You can’t perform that action at this time.
0 commit comments