Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2806,6 +2806,6 @@ SPEC CHECKSUMS:
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: 6ca93c8c13f56baeec55eb608577619b17a4d64e

PODFILE CHECKSUM: ec2a6d3aa5fc6aa4cd75a1a1f1d3fb28c1f8abee
PODFILE CHECKSUM: 32064aec2e4fd956051ae18c71720479742bc76a

COCOAPODS: 1.15.2
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default function App() {
console.log(e);
}}
keyboardAppearance="dark"
editable={true}
// editable={true}
lineHeight={22}
fontFamily={Platform.select({ ios: 'georgia', android: 'serif' })} // fontweight won't work unless this is used
fontStyle="italic"
Expand Down
3 changes: 2 additions & 1 deletion src/TypeRichTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const TypeRichTextInput = forwardRef(
(props: TypeRichTextInputProps, ref: Ref<TypeRichTextInputRef>) => {
const nativeRef = useRef(null);

const { scrollEnabled = true, ...restProps } = props;
const { scrollEnabled = true, editable = true, ...restProps } = props;

useImperativeHandle(ref, () => ({
focus: () => {
Expand Down Expand Up @@ -114,6 +114,7 @@ const TypeRichTextInput = forwardRef(
ref={nativeRef}
{...restProps}
scrollEnabled={scrollEnabled}
editable={editable}
onInputFocus={() => props.onFocus?.()}
onInputBlur={() => props.onBlur?.()}
onChangeText={handleOnChangeTextEvent}
Expand Down
Loading