Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/markdown-stream/markdown-stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class MarkdownElement extends LightElement {
while (el) {
if (el.scrollHeight > el.clientHeight) return el;
el = el.parentElement;
if (el?.tagName === CHAT_CONTAINER_TAG) {
if (el?.tagName?.toLowerCase() === CHAT_CONTAINER_TAG.toLowerCase()) {
// This ensures that we do not accidentally scroll a parent element of the chat
// container. If the chat container itself is scrollable, a scrollable element
// would already have been identified.
Expand Down
2 changes: 1 addition & 1 deletion shiny/www/py-shiny/markdown-stream/markdown-stream.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions shiny/www/py-shiny/markdown-stream/markdown-stream.js.map

Large diffs are not rendered by default.

Loading