Commit 448fc9b3 authored by Cyrille Bollu's avatar Cyrille Bollu
Browse files

Also use a DraxScrollView for the stack bar.



This solves a similar issue than in previous commit, but when there
are a lot of stacks
Signed-off-by: default avatarCyrille Bollu <cyrille@bollu.be>
parent d4c510bd
Pipeline #456372 passed with stage
in 33 seconds
......@@ -5,7 +5,7 @@ import { addStack, deleteCard, moveCard } from '../store/boardSlice';
import { setServer } from '../store/serverSlice';
import { setToken } from '../store/tokenSlice';
import AppMenu from './AppMenu';
import { ActionSheetIOS, Pressable, RefreshControl, ScrollView, Text, TextInput, View } from 'react-native';
import { ActionSheetIOS, Pressable, RefreshControl, Text, TextInput, View } from 'react-native';
import { DraxProvider, DraxScrollView, DraxView } from 'react-native-drax';
import axios from 'axios';
import { initialWindowMetrics } from 'react-native-safe-area-context';
......@@ -126,7 +126,7 @@ class BoardDetails extends React.Component {
ScrollView can use to make the containing view sticky,
without changing styles on the containing view */}
<View>
<ScrollView
<DraxScrollView
style={this.props.theme.stackBar}
horizontal
contentContainerStyle={this.props.theme.stackBarScrollInner}
......@@ -159,7 +159,7 @@ class BoardDetails extends React.Component {
</Pressable>
</DraxView>
))}
</ScrollView>
</DraxScrollView>
</View>
{currentStack?.cards &&
<View style={this.props.theme.boardDetailsContainer}>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment