Notes and fixing what I broke

This commit is contained in:
Dustin Brett 2020-11-29 23:18:55 -08:00
parent 215a834696
commit 286cff950e
2 changed files with 17 additions and 7 deletions

View File

@ -3,12 +3,15 @@
# System
- Windows
- Restoring from taskbar should refocus onto window
- Initial load maximized if dimensions > screen
- Save/restore maximized state
- Fix missing exit animation on windowless apps
- Auto re-render maximized window on layout/orientation changes
- Auto height resize should have more bottom padding
- Desktop Icons
- Dragged icons not staying inside desktop container
- In Firefox dragging doesn't work if started from the icon
- Dragging should go in front of windows
- Store icon positions
- Switch to grid layout
@ -16,8 +19,6 @@
- Start Menu
- START MENU click to toggle button bar
- Auto resize height for shorter screens
- Closing on blur/unfocus is not working on Safari
- Start icon moves with scroll/swipe on Safari mobile
- File Manager
- Filename not properly truncating
- Resizable/sortable/scrollable columns
@ -36,14 +37,25 @@
- Clicking links doesn't work
- Blog
- Dragging window drops randomly
- Height goes beyond window container on Safari
- ClippyJS
- Clean up code and move to hooks
- Winamp
- Main window titlebar focus doesn't work on load or mobile
- Cannot resize playlist on mobile
- WebODF
- Document file type icon
- DOS
- Auto resize has too much padding since upgrading to v7
- Add virtual keyboard toggle and touch capability
- Remove canvas animation transition during maximize
## Browser Specific
- Firefox
- Blur effects not working
- Issue with font preloading in console
- Safari
- Start menu is not closing on blur
- Safari Mobile
- iframe height not staying within window
- Start menu button moves with scroll/swipe

View File

@ -34,10 +34,8 @@ const Window: React.FC<AppComponent> = ({
const windowRef = useRef<Rnd>(null);
useEffect(() => {
if (foregroundId === id) {
focusResizableElementRef(windowRef);
}
}, [foregroundId]);
focusResizableElementRef(windowRef);
}, []);
return (
<Rnd