recursecenter / community

community.recurse.com
GNU Affero General Public License v3.0
115 stars 27 forks source link

Text not preserved after page navigation #248

Open danluu opened 10 years ago

danluu commented 10 years ago

If you type something into a text box, accidentally click a link, and then hit back, the text is gone.

This doesn't happen on most sites that just forms with no magic, so it seems like this is because something special is being done for the text box?

zachallaun commented 10 years ago

Yeah, this happens because forms are filled from React state, and that state is wiped when we hit the back button. We should definitely find a way to fix this though.

On Mon, Oct 20, 2014 at 11:28 AM, Dan Luu notifications@github.com wrote:

If you type something into a text box, accidentally click a link, and then hit back, the text is gone.

This doesn't happen on most sites that just forms with no magic, so it seems like this is because something special is being done for the text box?

Reply to this email directly or view it on GitHub: https://github.com/hackerschool/community/issues/248