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

Focus is only working on placeholder area, NOT on complete view #10

Open
rhytam opened this issue May 7, 2020 · 6 comments
Open

Focus is only working on placeholder area, NOT on complete view #10

rhytam opened this issue May 7, 2020 · 6 comments

Comments

@rhytam
Copy link

rhytam commented May 7, 2020

The view only becomes active when tapped on the placeholder area or where the text is written.
If the user taps anywhere else, field does not become first responder

@hassanmohsen
Copy link

I faced this issue , solve it by some changes in (style.css) file

#editor {
    min-height: 200px;
    height: auto;
    font-size: 14pt;
    padding:10px
    direction:rtl !important;
}

attention! , change direction to rtf , add padding, that serve my requirements

if not work with you tell me , I made other changes for other requirements may help for this issue

@ghost
Copy link

ghost commented Jun 3, 2020

#editor {
min-height: 200px;
height: auto;
font-size: 14pt;
padding:10px
direction:rtl !important;
}

Thanks a lot @hassanmohsen
Spent hours changing the focus point, but got no result.
This worked like a charm.. !!!!!!!

@YoomamaFTW
Copy link
Collaborator

YoomamaFTW commented Jun 11, 2020

Nice @hassanmohsen , I'll add it in unless you'd like to make a PR.

@hassanmohsen
Copy link

@YoomamaFTW sorry for lating, you can add it , no problem

@eli-zhang
Copy link

I got @hassanmohsen 's solution to work for a fixed minimum height, but in my case I wanted the editor to cover the entire area.
I was able to solve this problem by removing the div with id="container" and setting height: 100% in body (I didn't have to make any changes to the editor div). This makes the editor div fill up the body and the body fills up the entire view area.

@Andrew-Chen-Wang
Copy link
Owner

I'm not having this issue. Though, an issue that I've been having for a long time is that the cursor, if you click on an area below all your text, goes to the very top. Will report back with that fix. Otherwise, please let me know if this issue is still persisting, and if so, add debugging info like iOS version, reproducing steps, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants