Skip to content

Strengthen isKeyed test for swap rows #694

Closed
@krausest

Description

@krausest

As discovered in #693 currently the isKeyed test for swap rows is too weak to detect implementations that remove the two rows and simply insert two new rows.
I really think it makes much more sense to require a keyed implementation to actually move the rows, i.e. add exactly the rows that were removed (otherwise any dom state would be lost when swapping rows).

If isKeyed checks whether the rows are actually moved for swap rows the following implementations fail:

  • aurelia-v1.3.0-keyed
  • binding.scala-v10.0.1-keyed
  • crui-v0.1.0-alpha.13-keyed
  • datum-v0.12.2-keyed
  • dojo-v6.0.4-keyed
  • fidan-v0.0.23-keyed
  • maquette-v3.3.0-keyed
  • mikado-v0.7.57-keyed
  • ractive-v1.3.6-keyed
  • react-hookstate-v16.8.6 + 1.5.2-keyed
  • reflex-dom-v0.4-keyed
  • san-v3.7.7-keyed

Can you please take a look at your implementations? Is it possible to fix it for your frameworks?
@Alexander-Taran @Atry @iazel @MartinRixham @agubler @ismail-codar @johan-gorter @ts-thomas @alexfmpe @errorrik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions