# Bug OP-9929 - Shortening a card to less than 1 day (reverse stretch) results in temporary disappearance

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-9929

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date | 2021-11-01 – 2022-02-27 |
| Priority | Medium |
| Module |  |
| Target versions | 12.1.0 |
| Observed in versions |  |
| Sprint | 12.1.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

*   OpenProject Edge
*   macOS 12,1 / Firefox 97,0 / EN
*   macOS 12,1 / Safari 15,2 / EN

### **Steps to reproduce:**

1.  Go to a populated Team Planner
2.  Take a card whose start and end dates are within the bounds of the currently visible date limit
3.  Grab the right drag handle and drag towards the left, beyond the left edge of the card (the start date)
4.  Grab the left drag handle and drag towards the right, beyond the right edge of the card (the finish date)

### **Actual Behavior**

The card in question simply vanishes from view. But on reload, we notice that the card is unaffected and retains the initial values (pre-drag).

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27794/content"></div></figure>

### **Expected Behavior**

Drag should not be possible below a 1-day minimum, card should not disappear after letting go.
