core-elements icon indicating copy to clipboard operation
core-elements copied to clipboard

core-list-dart x coords on the row css transform incorrect when adding or removing items from the list

Open Andersmholmgren opened this issue 10 years ago • 4 comments

See https://groups.google.com/a/dartlang.org/forum/m/#!topic/web/UIkUq7Fb9-Y

When I remove items or add items to / from core-list the x coordinate becomes wrong. Either it is offset in a +ve x direction (when removing items) causing the list to appear lower in the page. Or -ve (when adding items) causing them to disappear entirely

Moving items in the list (a single remove + insert in the same observe cycle) works fine.

For example is an example taken from the chrome dev tools inspect element

transform: translate3d(0px, -1290px, 0px)

Note I have eliminated scrollTarget as being a potential cause.

Note this used to work until recently. I have had this basic code in place and use it often myself. I have only now noticed this for the first time. So I suspect some recent change

Andersmholmgren avatar Apr 07 '15 22:04 Andersmholmgren

Are there any plans to fix this anytime soon?

Andersmholmgren avatar Apr 20 '15 23:04 Andersmholmgren

I don't think anybody will be able to get to it until after the dart summit.

On Mon, Apr 20, 2015 at 4:08 PM Andersmholmgren [email protected] wrote:

Are there any plans to fix this anytime soon?

— Reply to this email directly or view it on GitHub https://github.com/dart-lang/core-elements/issues/206#issuecomment-94589352 .

jakemac53 avatar Apr 21 '15 17:04 jakemac53

Well luckily summit is over now and as I heard from the talks at summit, polymer work is largely on hold till 0.8js stabilises, so presumably that means you are all sitting around twiddling your thumbs and just itching to fix this bug right ;-)

Andersmholmgren avatar Apr 30 '15 22:04 Andersmholmgren

plenty of other non-0.8 related stuff to do but I hope to get some time to investigate this soon :)

jakemac53 avatar May 04 '15 21:05 jakemac53