-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Refactors and extends utils.collectDOMProperties #9601
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
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for tiddlywiki-previews ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📊 Build Size Comparison:
|
| Branch | Size |
|---|---|
| Base (master) | 2447.9 KB |
| PR | 2448.1 KB |
Diff: ⬆️ Increase: +0.2 KB
⚠️ Change Note Status
This PR appears to contain code changes but doesn't include a change note.
Please add a change note by creating a .tid file in editions/tw5.com/tiddlers/releasenotes/<version>/
📚 Documentation: Release Notes and Changes
💡 Note: If this is a documentation-only change, you can ignore this message.
|
Confirmed: saqimtiaz has already signed the Contributor License Agreement (see contributing.md) |
core/modules/utils/dom/dom.js
Outdated
| }); | ||
| }; | ||
|
|
||
| const getBoundingRect = (node) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jermolene @saqimtiaz ... I would like, if this code formatting for arrow functions would be the default. See draft PR at: #9590
So the error message below will be gone.
Refactors $tw.utils.collectDOMProperties:
Requires: #9609
Question:
should we provide individual variables for the properties of the boundingClientRect, as this PR currently does, such as
tv-selectednode-client-width,tv-selectednode-client-height,tv-selectednode-client-leftandtv-selectednode-client.top, OR one variable as a JSON blob:tv-selectednode-clientRect