MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

MRTK GridObjectCollection Vertical scroll limit

Open melixor opened this issue 5 years ago • 3 comments

Describe the bug

i'm building a ScrollingObjectCollection by code. I'm having a problem consisting in a limit of vertical scroll dimension. In few words i'm not able to scroll to the end of items. Have anyone meet this problems and solved it? Thank in advance

Your setup (please complete the following information)

  • Unity Version [e.g. 2019.4.24f1]
  • MRTK Version [e.g. v2.7.2]

Target platform (please complete the following information)

  • HoloLens 2

melixor avatar Nov 19 '21 11:11 melixor

Hi @melixor, could you share a video or a repro project with us so that we can take a look?

MaxWang-MS avatar Nov 24 '21 19:11 MaxWang-MS

Hi, I have a similar error with Hololens 2. Same Unity and MRTK version.

I noticed that when I put the objects in the container before playing scene the scroll object works well.

If instead I insert the objects in runtime, the container shows only the first objects and by activating the scroll they are not scrolled even though the objects are present. I mean, the scroll is activated, but trying to scroll, the animation always returns me to the first objects. Also, after added the objects into grid i applied the UpdateCollection() method.

5vh90h

The setups are:

scrollobject

gridobjectcollection

gerarchia

xandrew94x avatar Nov 25 '21 09:11 xandrew94x

The issue posted by @xandrew94x is addressed in a separate issue #10350. Closing this issue as we have not been hearing back from @melixor. Please reopen the issue and provide us with more information if this continues to be an issue, thanks.

MaxWang-MS avatar Dec 09 '21 02:12 MaxWang-MS