Tweak positioning
parent
eda4dee3ab
commit
f67812d09a
|
@ -283,7 +283,8 @@ const styles = StyleSheet.create({
|
||||||
pointerEvents: 'none',
|
pointerEvents: 'none',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
position: 'absolute',
|
// @ts-ignore web only -prf
|
||||||
|
position: 'fixed',
|
||||||
padding: 16,
|
padding: 16,
|
||||||
top: 0,
|
top: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
|
@ -315,6 +316,7 @@ function getImageFromUri(
|
||||||
const type = item.type
|
const type = item.type
|
||||||
|
|
||||||
if (type === 'text/plain') {
|
if (type === 'text/plain') {
|
||||||
|
console.log('hit')
|
||||||
item.getAsString(async itemString => {
|
item.getAsString(async itemString => {
|
||||||
if (isUriImage(itemString)) {
|
if (isUriImage(itemString)) {
|
||||||
const response = await fetch(itemString)
|
const response = await fetch(itemString)
|
||||||
|
|
Loading…
Reference in New Issue