1

Resolved

Issue with horizonal scrolling

description

I'm using ListBoxTouchScrollBehavior with a listbox that scrolls horizontally, the issue is that scrolling does not work, you can see a repro here: http://www.codeworks.it/gaia/touch/
Vertical scroll is fine while horizontal doesn't scroll initially but ogni after a slight vertical movement and, as you can see, horizontal and vertical scroll are swapped.
Another issue regarding vertical scrolling is that at the end of scroll visibile item gets automatically selected even if no one explicitly did it.
 
XAML is:
<ListBox ItemsSource="{Binding Persons}" ItemTemplate="{StaticResource ItemTemplate}" ScrollViewer.VerticalScrollBarVisibility="Hidden">
        <i:Interaction.Behaviors>
            <Wintellect_Touch:ListBoxTouchScrollBehavior />
        </i:Interaction.Behaviors>
        <ListBox.ItemsPanel>
            <ItemsPanelTemplate>
                <StackPanel Orientation="Horizontal" />
            </ItemsPanelTemplate>
        </ListBox.ItemsPanel>
    </ListBox>

comments

avidgator wrote Apr 30, 2011 at 4:55 PM

Just did a checking to address a copy/paste error where VerticalOffset value was being applied to execute the Horizontal scroll...

wrote Apr 30, 2011 at 4:56 PM

wrote Apr 30, 2011 at 4:56 PM

wrote May 1, 2011 at 1:56 AM

corcav wrote May 1, 2011 at 12:08 PM

Cool, I'll ry it asap. What about automatic selection of an item at the end of scrolling?

wrote Feb 14, 2013 at 12:59 AM

wrote May 16, 2013 at 7:11 AM

wrote May 16, 2013 at 7:11 AM

wrote Jun 14, 2013 at 7:56 AM