Yeah, I think it should be pretty straight forward.
For example a name could be "ScrollIndexToSelection" in the "
org.apache.royale.jewel.beads.controls.list" package.
Then it just listen for selectionChange event and do the scrollToIndex

thanks!

El mié., 4 nov. 2020 a las 10:40, Maria Jose Esteve (<[email protected]>)
escribió:

> Right Carlos. If the guideline is that the operation should be the same,
> basically, I also think it should be a bead, since the application of the
> scrollToIndex, whenever the selected element is changed, it would be a
> sudden change.
>
>
>
> Would we agree to add this functionality in a bead?
>
> If you tell me yes, I try 😝
>
>
>
> Thx.
>
> Hiedra
>
> -----Mensaje original-----
> De: Carlos Rovira <[email protected]>
> Enviado el: miércoles, 4 de noviembre de 2020 10:02
> Para: Apache Royale Development <[email protected]>
> Asunto: Re: Jewel List - selectionChange (Bis)
>
>
>
> Hi Maria Jose,
>
>
>
> so if I'm understanding correctly, we currently have the same behaviour as
> Flex (maybe we need to update a bit to improve over time, but in essence is
> the same): Moving with keys trigger the scrollToIndex, but if we use
> programmatically selectedItem, the scrollToIndex is not triggered, right?
>
>
>
> If so I think we are ok in the TLC List, and the behaviour should go to a
> bead.
>
>
>
> Can you confirm?
>
>
>
> thanks
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira

Reply via email to