lesterchan / wp-polls

Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your WordPress's blog post/page.
https://wordpress.org/plugins/wp-polls/
93 stars 78 forks source link

When using the poll on mobile, this message gets lost "You Had Alread… #67

Closed eduardoarandah closed 8 years ago

eduardoarandah commented 8 years ago

…y Voted For This Poll" because poll total height shrinks.

When user tries to vote again, the code shows a tiny message that gets lost on mobile versions because total height changes drastically.

Better aproach is showing poll results anyway, and a styled message on bottom.

eduardoarandah commented 8 years ago

Although the behaviour is OK, I see a bug for this commit:

After trying to vote twice, appears a "loading" message that doesn't go away.

lesterchan commented 8 years ago

Are you using a caching plugin or something? Because technically speaking, you should not see 'You Had Already Voted For This Poll. Poll ID #%s' at all.

eduardoarandah commented 8 years ago

Yes. W3 total Cache

El lunes, 14 de marzo de 2016, Lester Chan notifications@github.com escribió:

Are you using a caching plugin or something? Because technically speaking, you should not see 'You Had Already Voted For This Poll. Poll ID #%s' at all.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/lesterchan/wp-polls/pull/67#issuecomment-196617639

Enviado desde mi móvil

lesterchan commented 8 years ago

Yap, that is the problem though, This plugin is not compatible with any caching plugin because those plugin caches the HTML page and this plugin doesn't load the initial poll via AJAX.