Skip to content
Permalink
Browse files

fix: disable scroll for model feed items on desktop (#1007)

  • Loading branch information
yaroslav-fedyshyn-nordwhale authored and sirpy committed Dec 1, 2019
1 parent 68e345c commit 9827d0fca17a4bfb7402c2b36bb241a4d95b1e79
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/components/dashboard/Dashboard.js
@@ -1,6 +1,7 @@
// @flow
import React, { useEffect, useState } from 'react'
import { Animated, AppState, Dimensions, Easing } from 'react-native'
import { isBrowser } from 'mobile-device-detect'
import debounce from 'lodash/debounce'
import _get from 'lodash/get'
import moment from 'moment'
@@ -496,7 +497,7 @@ const Dashboard = props => {
/>
{currentFeed && (
<FeedModalList
data={feeds}
data={isBrowser ? [currentFeed] : feeds}
handleFeedSelection={handleFeedSelection}
initialNumToRender={PAGE_SIZE}
onEndReached={nextFeed}

0 comments on commit 9827d0f

Please sign in to comment.
You can’t perform that action at this time.