You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hasn't anyone tried to use this package with react-native-reusables, been having this weird issue and i don't even know how to describe it but i would try
~/lib/sheets.ts
`
import { registerSheet, SheetDefinition } from "react-native-actions-sheet";
import ImportWalletSheet from "~/components/wallet/ImportWalletSheet";
// home/index.tsx
import {Button} from "/components/ui/buton" // from react-native-reusables
import {Link} from "expo-router
export default function Screen() {
return (
<Button onPress={() => {
// So this opens well
SheetManager.show("import-wallet-sheet")
}}>Open Sheet
Navigate
)
}
// navigate.tsx
import {Progress} from "~/components/ui/progress" // from react-native-reusables
export default function Screen() {
return (
<Progress ..props />
)
}
So for some reason, if i navigate back and try to open the sheet, it tries to come from the top and messes up the styles, so confused rn
IS THERE ANYONE THAT HAS USED THIS TWO TOGETHER AND HAVE EXPERINCED THIS B4??
The text was updated successfully, but these errors were encountered:
Hasn't anyone tried to use this package with react-native-reusables, been having this weird issue and i don't even know how to describe it but i would try
~/lib/sheets.ts
`
import { registerSheet, SheetDefinition } from "react-native-actions-sheet";
import ImportWalletSheet from "~/components/wallet/ImportWalletSheet";
registerSheet("import-wallet-sheet", ImportWalletSheet, "global");
declare module "react-native-actions-sheet" {
interface Sheets {
"import-wallet-sheet": SheetDefinition;
}
}
export {};
`
//
home/index.tsx/components/ui/buton" // from react-native-reusablesimport {Button} from "
import {Link} from "expo-router
export default function Screen() {
return (
<Button onPress={() => {
// So this opens well
SheetManager.show("import-wallet-sheet")
}}>Open Sheet
Navigate
)
}
// navigate.tsx
import {Progress} from "~/components/ui/progress" // from react-native-reusables
export default function Screen() {
return (
<Progress ..props />
)
}
So for some reason, if i navigate back and try to open the sheet, it tries to come from the top and messes up the styles, so confused rn
IS THERE ANYONE THAT HAS USED THIS TWO TOGETHER AND HAVE EXPERINCED THIS B4??
The text was updated successfully, but these errors were encountered: