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

Message component missing onclick prop #177

Closed
5 of 6 tasks
aabluedragon opened this issue Oct 6, 2023 · 0 comments
Closed
5 of 6 tasks

Message component missing onclick prop #177

aabluedragon opened this issue Oct 6, 2023 · 0 comments
Labels
Svelte Issue with Tailwind Mobile Svelte

Comments

@aabluedragon
Copy link

aabluedragon commented Oct 6, 2023

Check that this is really a bug

  • I confirm

Reproduction link

none

Bug description

Message component is missing onclick prop

Expected Behavior

onclick should be added, for listening to clicks on Message component

Actual Behavior

No response

Konsta UI version

3.1.0

Platform/Target and Browser Versions

Windows 11

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Konsta UI issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR

Workaround

<Messages>	  
     {#each messagesData as message, index (index)}
	    <div on:click={()=>handleMessageClick(message)} class={message.type=="sent"?"grid justify-items-end":''}>
                 <Message ..../>
            </div>
     {/each}
</Messages>
@aabluedragon aabluedragon added the Svelte Issue with Tailwind Mobile Svelte label Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Svelte Issue with Tailwind Mobile Svelte
Projects
None yet
Development

No branches or pull requests

1 participant