@kodaris/krubble-app-components 1.0.161 → 1.0.162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5918,9 +5918,11 @@ class KRChatbot extends i$3 {
5918
5918
  // Scroll the confirmation into view so the user actually sees the ask — an
5919
5919
  // agentic turn can stream many tool lines past the fold, leaving the prompt
5920
5920
  // below it. `block: 'end'` brings its bottom up to just above the composer.
5921
+ // Match on the alertdialog role: an earlier skill-offer card in the transcript
5922
+ // shares the .confirmation class and would otherwise win as the first match.
5921
5923
  if (this._inlineConfirm) {
5922
5924
  this.updateComplete.then(() => {
5923
- this._messagesEl?.querySelector('.confirmation')?.scrollIntoView({
5925
+ this._messagesEl?.querySelector('.confirmation[role="alertdialog"]')?.scrollIntoView({
5924
5926
  behavior: 'smooth',
5925
5927
  block: 'end',
5926
5928
  });