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

1.4 Perspective issues #6722

Closed
MarcSkovMadsen opened this issue Apr 13, 2024 · 1 comment · Fixed by #6764
Closed

1.4 Perspective issues #6722

MarcSkovMadsen opened this issue Apr 13, 2024 · 1 comment · Fixed by #6764
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@MarcSkovMadsen
Copy link
Collaborator

MarcSkovMadsen commented Apr 13, 2024

I'm on Panel==1.4.1 on linux jupyter hub, edge browser on windows

The settings sidebar background does not look great

image

import panel as pn
import pandas as pd
import numpy as np
import random
from datetime import datetime, timedelta

pn.extension('perspective')

data = {
    'int': [random.randint(-10, 10) for _ in range(9)],
    'float': [random.uniform(-10, 10) for _ in range(9)],
    'date': [(datetime.now() + timedelta(days=i)).date() for i in range(9)],
    'datetime': [(datetime.now() + timedelta(hours=i)) for i in range(9)],
    'category': ['Category A', 'Category B', 'Category C', 'Category A', 'Category B',
             'Category C', 'Category A', 'Category B', 'Category C',],
    'link': ['https://panel.holoviz.org/', 'https://discourse.holoviz.org/', 'https://github.com/holoviz/panel']*3,
}
df = pd.DataFrame(data)

perspective = pn.pane.Perspective(df, height=600, width=1000)
pn.Column(perspective.param.settings, perspective).servable()

If I go to the documentation it looks fine

image

If I change from Edge to Firefox browser the served app also looks fine.

image

Browser Issues

App on Edge

No issues in Console. No issues in Network.

But sidebar background looks as shown above.

If I disable the background it looks like

image

Documentation on Edge

The output cells are empty unless I hard refresh. After hard refresh Perspective looks fine.

image

There are no errors in the browser console. But material-dark.css is missing.

image

App on Firefox

No issues in Console. No issues in Network.

@MarcSkovMadsen MarcSkovMadsen added TRIAGE Default label for untriaged issues type: bug Something isn't correct or isn't working and removed TRIAGE Default label for untriaged issues labels Apr 13, 2024
@MarcSkovMadsen MarcSkovMadsen added this to the next milestone Apr 14, 2024
@philippjfr
Copy link
Member

Fixed the material theme issues in #6764 and could not reproduce any issues in Edge anymore so will (auto-)close when merging the PR.

@philippjfr philippjfr modified the milestones: next, v1.4.2 Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants