Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RNMobile] Recover border color on focused blocks #17269

Merged
merged 1 commit into from
Aug 30, 2019
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
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class BlockListBlock extends Component {
>
{ isValid && this.getBlockForType() }
{ ! isValid &&
<BlockInvalidWarning blockTitle={ title } icon={ icon } />
<BlockInvalidWarning blockTitle={ title } icon={ icon } />
}
</View>
{ isSelected && <BlockMobileToolbar clientId={ clientId } /> }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class BlockList extends Component {
rootClientId={ this.props.rootClientId }
onCaretVerticalPositionChange={ this.onCaretVerticalPositionChange }
borderStyle={ this.blockHolderBorderStyle() }
focusedBorderColor={ blockHolderFocusedStyle }
focusedBorderColor={ blockHolderFocusedStyle.borderColor }
/> ) }
</ReadableContentView>
);
Expand Down
3 changes: 1 addition & 2 deletions packages/edit-post/src/components/layout/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ class Layout extends Component {
<View style={ useStyle( styles.background, styles.backgroundDark, this.props.theme ) }>
{ isHtmlView ? this.renderHTML() : this.renderVisual() }
</View>
<View style={ { flex: 0, flexBasis: marginBottom, height: marginBottom } }>
</View>
<View style={ { flex: 0, flexBasis: marginBottom, height: marginBottom } } />
{ ! isHtmlView && (
<KeyboardAvoidingView
parentHeight={ this.state.rootViewHeight }
Expand Down