mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-04 14:07:47 +01:00
A ChatThread holding one greeting, at the foot of a long page, has no scroll of its own, so the document owned the scroll and useStickToBottom pinned the document to the thread's end on mount. bitbaum.orangecat.ch /hire/ and /builders/ opened on the contact box, past the headline and the prices. While the document owns the scroll and the reader has sent nothing, the thread does not move the page and shows no jump button. The reader's first message starts the following, as before; a conversation that already holds a turn from the reader still opens at its latest turn. test/browser-scroll.mjs covers it on a new fixture (demo/scroll.html?owner=page&greeting) at 390 and 1280px and fails on 0.25.0. Claude-Session: https://claude.ai/code/session_019MDtmsSWTTpVpe4wh3v1sb Co-authored-by: Claude <noreply@anthropic.com>
1 line
565 B
Plaintext
1 line
565 B
Plaintext
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/react/hooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,SAAO;;iBAUhC,MAAM;EAYhB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM;;;;;;;EAuMrE;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,OAAO,UAAO,QAqBvF;AAED;;;;;;;;gFAQgF;AAChF,wBAAgB,WAAW,CAAC,GAAG,EAAE,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,SAAM,QAqB/F"} |