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

Fix block appender placeholder not matching the paragraph placeholder issue #732

Merged
merged 8 commits into from
Mar 12, 2019
Merged
Show file tree
Hide file tree
Changes from 5 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
10 changes: 9 additions & 1 deletion src/block-management/block-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { Text, View, Keyboard, LayoutChangeEvent, SafeAreaView, Dimensions } fro
import BlockHolder from './block-holder';
import type { BlockType } from '../store/types';
import styles from './block-manager.scss';
import blockHolderStyles from './block-holder.scss';
import inlineToolbarStyles from './inline-toolbar/style.scss';
import toolbarStyles from './block-toolbar.scss';
import BlockPicker from './block-picker';
Expand Down Expand Up @@ -182,7 +183,14 @@ export class BlockManager extends React.Component<PropsType, StateType> {

renderDefaultBlockAppender() {
return (
<DefaultBlockAppender rootClientId={ this.props.rootClientId } />
<DefaultBlockAppender
rootClientId={ this.props.rootClientId }
containerStyle={ [
blockHolderStyles.blockContainerFocused,
this.blockHolderBorderStyle(),
{ borderColor: 'transparent' },
] }
/>
);
}

Expand Down