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 show-more being displayed over chat messages #87

Closed
wants to merge 16 commits into from
Closed

Fix show-more being displayed over chat messages #87

wants to merge 16 commits into from

Conversation

nomadturk
Copy link

As per erming/shout#568:

With this PR I tried fixing #366 by changing it's position to relative. It wasn't a pretty sight to see "Show more" bar on existing chat messages.

With this fix Show More button no more will overlap with the underneath text.
As in:
chrome_2016-02-22_16-43-50

Result will be like:
Test image

This fix also includes @xPaw 's contribution as well.
PS: I mistakenly added another commit to this PR and removed it later. See #88 for the next one.

As per erming/shout#568:

With this PR I tried fixing #366 by changing it's position to relative. It wasn't a pretty sight to see "Show more" bar on existing chat messages.
Updated the form to not auto complete what we wrote before by removing action="" and adding autocomplete="off"

This patch denies erming/shout#518 and removes that. Because without autocomplete, writing suggestions for mobile keyboards was enabled but at the mean time also whenever you clicked on text area to write a new message, you were given a number of your last typed sentences. Especially on mobile, this was a huge buzzkill because after 3-5 sentences on any channel, these suggestions covered your whole screen.

So, in order to remove it I did some changes, ensuring writing suggestions still work.
I have added autocomplete=off .

This commit is related to erming/shout#532
@astorije astorije added the Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. label Feb 23, 2016
@astorije
Copy link
Member

Hey @nomadturk,

Thanks for this!
There is an issue with your commits, do you mind squashing them into one commit please?

Also, naive question: what happens if we do not specify any display at all?

@xPaw
Copy link
Member

xPaw commented Feb 23, 2016

Also, naive question: what happens if we do not specify any display at all?

You mean position? It should work just fine with it removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants