Skip to content

Commit f092aaf

Browse files
committed
Fix deletion of post's attachments on iOS
See SortableJS/react-sortablejs#270
1 parent a0cb211 commit f092aaf

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
- Add a "description" meta-tag to the index.html.
1111
### Fixed
1212
- Update SSI patterns in index.html to support dashes in groupnames.
13+
- Bug on iOS that blocks deletion of post's attachments.
1314

1415
## [1.132.0] - 2024-05-27
1516
### Added

src/components/post/post-attachment-image-container.jsx

+2
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ export default class ImageAttachmentsContainer extends Component {
146146
list={this.props.attachments}
147147
setList={this.setSortedList}
148148
filter=".remove-attachment"
149+
/* Bug on iOS, see https://github.com/SortableJS/react-sortablejs/issues/270 */
150+
preventOnFilter={false}
149151
>
150152
{allImages}
151153
</Sortable>

0 commit comments

Comments
 (0)