Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

The content of a drop down (<select>) is not visible #74

Open
tby333 opened this issue Mar 30, 2017 · 2 comments
Open

The content of a drop down (<select>) is not visible #74

tby333 opened this issue Mar 30, 2017 · 2 comments

Comments

@tby333
Copy link

tby333 commented Mar 30, 2017

Hey everybody :)
I have the following problem:

What steps will reproduce the problem?

  1. Go to https://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml_select
  2. Click on the drop down list

What is the expected output? What do you see instead?

  • The expected output is to see the content of the dropdown field

  • Instead the dropdown content is not visible, but i can click on the
    position where the content should be...

  • If you go to https://www.w3schools.com/TAGS/tag_select.asp and click on "Try it Yourself",
    there will be opened the above site in a new window.
    -> the drop down does work?

What version of the product are you using? On what operating system?

  • cef3 3.2883.1553
  • Windows 10
  • Firemonkey

I hope someone can help me to handle this :)

@TimmyTommy
Copy link

TimmyTommy commented Mar 30, 2017

image

Once I had the problem, that the drop down list was at the wrong position after moving the form.
I fixed it by adding this lines of code.

type
TForm1 = class(TForm)
[...]
Chromium: TChromium;
procedure OnMove(var Msg: TWMMove); message WM_MOVE;
[...]
end;

implementation

procedure TForm1.OnMove(var Msg: TWMMove);
begin
inherited;
if Assigned(Chromium.Browser) then begin
try
Chromium.Browser.Host.NotifyMoveOrResizeStarted;
finally
end;
end;
end;

I hope this helps to fix your problem :)

@tby333
Copy link
Author

tby333 commented Apr 5, 2017

Hey TimmyTommy,
i forgot to mention that i use it for firemonkey. I think your solution works fine for the VCL version, but unfortunately not for me.
But still thank you for your fast reply :)
Maybe somebody else can help me?

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

No branches or pull requests

2 participants