Skip to main content
added 160 characters in body
Source Link

This is resolved since the "thanks" reaction is currently disabled.

Additionally, a code fix is in review should the feature be turned on again and to address a similar issue on Stack Overflow for Teams.

Basically, the issue is that the reaction button was implemented as <button>...</button> which is functionally equivalent to <button type="submit">...</button> when contained within a form.

When the question loaded and you hit Enter, the browser looked for the first submit button within the form and sent it a click event. That button was unfortunately the react button on the first answer.

The fix was to explicitly annotate these as <button type="button">...</button>.

Reactions that correspond to subsequent duplicate votes pointing to the answer's question will be appropriately accounted for when analyzing the experiment.

This is resolved since the "thanks" reaction is currently disabled.

Additionally, a code fix is in review should the feature be turned on again and to address a similar issue on Stack Overflow for Teams.

Basically, the issue is that the reaction button was implemented as <button>...</button> which is functionally equivalent to <button type="submit">...</button> when contained within a form.

When the question loaded and you hit Enter, the browser looked for the first submit button within the form and sent it a click event. That button was unfortunately the react button on the first answer.

The fix was to explicitly annotate these as <button type="button">...</button>.

This is resolved since the "thanks" reaction is currently disabled.

Additionally, a code fix is in review should the feature be turned on again and to address a similar issue on Stack Overflow for Teams.

Basically, the issue is that the reaction button was implemented as <button>...</button> which is functionally equivalent to <button type="submit">...</button> when contained within a form.

When the question loaded and you hit Enter, the browser looked for the first submit button within the form and sent it a click event. That button was unfortunately the react button on the first answer.

The fix was to explicitly annotate these as <button type="button">...</button>.

Reactions that correspond to subsequent duplicate votes pointing to the answer's question will be appropriately accounted for when analyzing the experiment.

Source Link

This is resolved since the "thanks" reaction is currently disabled.

Additionally, a code fix is in review should the feature be turned on again and to address a similar issue on Stack Overflow for Teams.

Basically, the issue is that the reaction button was implemented as <button>...</button> which is functionally equivalent to <button type="submit">...</button> when contained within a form.

When the question loaded and you hit Enter, the browser looked for the first submit button within the form and sent it a click event. That button was unfortunately the react button on the first answer.

The fix was to explicitly annotate these as <button type="button">...</button>.