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

Multiple attachments to notes became inactive #1529

Open
listyque opened this issue Jul 24, 2020 · 3 comments
Open

Multiple attachments to notes became inactive #1529

listyque opened this issue Jul 24, 2020 · 3 comments
Labels

Comments

@listyque
Copy link
Contributor

Describe the bug
When you create a message and attach more than one file/image with it - files became inactive, and can't be viewed or downloaded.

To Reproduce
Steps to reproduce the behavior:

  1. Create new note to SObject
  2. Attach 2 or more files to note
  3. Send this note
  4. See note's file unreachable
@remkonoteboom
Copy link
Contributor

I tried this. They seem to be unreachable when your first add them. If you refresh the view and open the notes, they are clickable. Do you see this as well?

@listyque
Copy link
Contributor Author

I tried this. They seem to be unreachable when your first add them. If you refresh the view and open the notes, they are clickable. Do you see this as well?

Yes i have the same behavior.
Even after they become clickable the cursor stays "default" instead of "hand"

@remkonoteboom
Copy link
Contributor

Pretty technical description: basically, since the notes widget was changed from being a dialog to a PUW (which is outside the dom structure), a refresh causes it to lose the behaviors that were transferred at the layout level. Refresh the table causes the behaviors to be propagated back again.

The behaviors are at the layout level to make it a single place for the entire table which worked when the notes widget was a dialog (as dialogs are part of the dom structure). Maybe need to move the behavior to the popup itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants