move composables to their own folder
This commit is contained in:
parent
62106f0d54
commit
e34f4814c8
3 changed files with 2 additions and 13 deletions
|
|
@ -13,8 +13,8 @@ import {
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
|
|
||||||
import ChatMessageList from 'src/components/chat_message_list/chat_message_list.vue'
|
import ChatMessageList from 'src/components/chat_message_list/chat_message_list.vue'
|
||||||
import { useScrollPosition } from 'src/components/conversation/useScrollPosition.js'
|
import { useScrollPosition } from 'src/composables/useScrollPosition.js'
|
||||||
import { useWindowSize } from 'src/components/conversation/useWindowSize.js'
|
import { useWindowSize } from 'src/composables/useWindowSize.js'
|
||||||
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
||||||
import QuickFilterSettings from 'src/components/quick_filter_settings/quick_filter_settings.vue'
|
import QuickFilterSettings from 'src/components/quick_filter_settings/quick_filter_settings.vue'
|
||||||
import QuickViewSettings from 'src/components/quick_view_settings/quick_view_settings.vue'
|
import QuickViewSettings from 'src/components/quick_view_settings/quick_view_settings.vue'
|
||||||
|
|
@ -353,17 +353,6 @@ export default {
|
||||||
const finalBottomScrollBoundary =
|
const finalBottomScrollBoundary =
|
||||||
realBottomScrollBoundary.value + buffer
|
realBottomScrollBoundary.value + buffer
|
||||||
|
|
||||||
// console.log(
|
|
||||||
// 'TOP SCROLL',
|
|
||||||
// itemBottomBoundary > finalTopScrollBoundary,
|
|
||||||
// itemBottomBoundary, finalTopScrollBoundary,
|
|
||||||
// )
|
|
||||||
// console.log(
|
|
||||||
// 'BOTTOM SCROLL',
|
|
||||||
// itemTopBoundary < finalBottomScrollBoundary,
|
|
||||||
// itemTopBoundary, finalBottomScrollBoundary,
|
|
||||||
// )
|
|
||||||
|
|
||||||
// To be visible, item's bottom boundary shoud be below top scroll boundary)
|
// To be visible, item's bottom boundary shoud be below top scroll boundary)
|
||||||
const belowTopBoundary = itemBottomBoundary > finalTopScrollBoundary
|
const belowTopBoundary = itemBottomBoundary > finalTopScrollBoundary
|
||||||
// To be visible, item's top boundary shoud be above bottom scroll boundary)
|
// To be visible, item's top boundary shoud be above bottom scroll boundary)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue