-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
画像を含む過去メッセージ読み込み時にスクロールがずれる #1175
Labels
Comments
composition-apiのバグがあってこのコミット(4df1b29) のあとからその影響があるのでもしかしたらバージョン上げたら直るかもしれないです |
sapphi-red
added a commit
that referenced
this issue
Aug 7, 2020
書いておくとアスペクト比をブラウザ側が気にしてくれる refs #1175 直接的な修正じゃないけど関係はする
Merged
最初に開いたチャンネルでないチャンネルに遷移したときには traQ_S-UI/src/components/Main/MainView/MessagesScroller/MessagesScroller.vue Lines 200 to 202 in c14d701
const route = useRoute()
onMounted(() => {
state.height = rootRef.value?.scrollHeight ?? 0
if (rootRef.value) {
rootRef.value.scrollTo({
top: rootRef.value.scrollHeight
})
}
})
watch(
() => route.path,
() => {
// vue-routerのインスタンス再利用対策
state.height = rootRef.value?.scrollHeight ?? 0
if (rootRef.value && props.entryMessageId === undefined) {
rootRef.value.scrollTo({
top: rootRef.value.scrollHeight
})
}
},
{ flush: 'post' }
) みたいな? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: