Skip to content

Commit 50968ac

Browse files
committed
fix: Denote auto-draft status
If Apple and Google allowed programmatic focus of interactive elements in web views, this would ensure the post title field is focused for new drafts. However, Apple and Google require user interaction--e.g., taps--for the virtual keyboard to display. Regardless, denoting the auto-draft status is likely still worthwhile.
1 parent d776194 commit 50968ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/bridge.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ export function getPost() {
177177
type: 'post',
178178
status: 'draft',
179179
id: -1,
180+
status: 'auto-draft',
180181
};
181182
}
182183

0 commit comments

Comments
 (0)