Datatables Editor and StateRestore conflict

Datatables Editor and StateRestore conflict

sloloslolo Posts: 33Questions: 6Answers: 0

Link to test case: http://live.datatables.net/hohimela/1/edit
Debugger code (debug.datatables.net):
Error messages shown: No error message
Description of problem: Hello,

It seems to have a conflict on sub menu if "Editor" and "StateRestore" are used.

To reproduce the problem, select a line into the table, go to menu "State menu / Saved States".
You can see the Editor menu appears. If you click on "Edit", you can edit the previous selected line.

I suppose that it isn't the correct behavior?

If a remove this piece of code from the example, "StateRestore" works normally.

      {
        extend: 'collection',
        buttons: [
          {extend: "create", editor: editor},
          {extend: "edit", editor: editor},
          {extend: "remove", editor: editor}
        ],
        text: "Editor menu"
      },

Thanks in advance for your help and have a nice day.

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    edited June 2022

    That's interesting, that only happens on Firefox - it behaves as expected on Chrome - thanks for reporting. I've raised it internally (DD-2568 for my reference) and we'll report back here when there's an update.

    Cheers,

    Colin

  • sloloslolo Posts: 33Questions: 6Answers: 0

    Thanks for your answer colin,

    I also have the problem on Chome Version 103.0.5060.53 (Build officiel) (64 bits)

    Thank you in advance for your investigations.

  • sloloslolo Posts: 33Questions: 6Answers: 0

    Hello colin,

    Any news on this strange behavior or a possible fix?

Sign In or Register to comment.