Posted 27 May 2022, 4:06 pm EST
Description:
When user paste formula using keyboard shortcut formula selection
deselected after paste action.
Conditions:
- IMPORTANT: Use Paste with shortcut CTRL+V. If programmatically paste, it works as expected.
- The formula’s referenced cell value changes after Paste.
Steps:
- A1 cell has a random value. It will be updated after each paste event (could be any event).
- A2 cell has a formula ‘=A1+10’
- Copy the cell A2 (CTRL+C)
- Paste it using CTRL+V anywhere → Pastes Formula (Correct)
- Paste it using CTRL+V anywhere → Pastes Value (Incorrect)
This happens because after first paste, copy selection is gone.
Expected:
Paste action should paste the formula into the target cells
Actual:
After first paste, will paste only value not formula.spreadjs_copypasteformula.zip