marcelklehr / socialcalc

Web-based spreadsheet editor with support for real-time collaboration
Other
17 stars 23 forks source link

Strange behavior when using merge cell and insert col / row commands together #1

Closed marcelklehr closed 8 years ago

marcelklehr commented 8 years ago

Sometimes (when the original two columns share merged cells) two columns are inserted with the same merged cell pairs. When a cell that is part of a merger originally had a value, the inserted row sports that cell with the same value.

I think the desired behavior for inserting a column in between two columns that share merged cells would be to expand the merged cells to span three columns.

marcelklehr commented 8 years ago

I think I fixed this with https://github.com/marcelklehr/socialcalc/commit/c21e5658c78dc764c4444c76bfb7834f5abb6b83. The problem was that inserted columns/rows didn't cause mergers to expand