mirkoRainer / RulesLawyer

Pathfinder 2E on mobile
GNU General Public License v3.0
5 stars 1 forks source link

Use this on all forms. Disable the update button if things are being typed. #38

Open github-actions[bot] opened 3 years ago

github-actions[bot] commented 3 years ago

const [isKeyboardVisible, setKeyboardVisible] = useState(false); useEffect(() => { const keyboardDidShowListener = Keyboard.addListener( "keyboardDidShow", () => { setKeyboardVisible(true); // or some other action } ); const keyboardDidHideListener = Keyboard.addListener( "keyboardDidHide", () => { setKeyboardVisible(false); // or some other action } );


This issue has been automatically created by todo-actions based on a TODO comment found in src/scenes/CharacterSheet/Inventory/Components/EditItem.tsx:81. It will automatically be closed when the TODO comment is removed from the default branch (master).