react-md icon indicating copy to clipboard operation
react-md copied to clipboard

[EditDialogColumn] - Unable to create a Single Row DataTable with an EditDialogColumn

Open mvuherer opened this issue 9 years ago • 3 comments

Description

When theres only one row with EditDialogColumn row kind of breaks.

Link to a gist or code sample where the issue can be reproduced

Remove all but one row on "Configurable Data Table Example" and it will reproduce.

Version

  • Browser: Latest Chrome

mvuherer avatar Jun 01 '17 21:06 mvuherer

Basically the calculation for the margin happens too early, maybe rethink all of the calculations that happen based on current view and usage, and move to positioning by parents or component its self

mvuherer avatar Jun 03 '17 13:06 mvuherer

I'm going to target this for the 1.1.0 release since I did a rehaul of the menus/dialogs and this problem is solved there.

http://react-md.next.mlaursen.com/components/data-tables

mlaursen avatar Jun 03 '17 13:06 mlaursen

Thanks for the update!

mvuherer avatar Jun 03 '17 13:06 mvuherer